PHP Classes

PHP Suggestion Text Box: Retrieve auto-complete suggestions from database

Recommend this page to a friend!
     
  Info   Example   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 205 All time: 8,432 This week: 68Up
Version License PHP version Categories
suggestion-text-box 1.0.1Freeware5PHP 5, Databases
Description 

Author

This package can retrieve auto-complete suggestions from database.

It can perform database queries to retrieve suggestions to complete a given text that includes the keywords eventually entered by the user in a text box.

The database table table and field to query for completion are configurable parameters.

Picture of Timothy Malche
  Performance   Level  
Name: Timothy Malche <contact>
Classes: 2 packages by
Country: India India
Age: 45
All time rank: 3727256 in India India
Week rank: 192 Up22 in India India Up
Innovation award
Innovation award
Nominee: 1x

Example

<html>
<head>
<TITLE>PHP AJAX Suggestion Box</TITLE>
<head>

<link rel="stylesheet" type="text/css" href="style.css" />

<script src="https://code.jquery.com/jquery-2.1.1.min.js" type="text/javascript"></script>


<?php
require_once("suggestionbox.php");
suggestionBox::CSS(600,600,300);
suggestionBox::JS();
?>

</head>
<body>
<div class="frmSearch">
<h1>PHP Suggestion TextBox</h1>
<input type="text" id="search-box" placeholder="Enter Patent Title" />
<div id="suggesstion-box"></div>
</div>
</body>
</html>


  Files folder image Files (7)  
File Role Description
Plain text file dbcontroller.php Class php class file
Plain text file index.php Example php main file
Image file LoaderIcon.gif Icon Image File
Plain text file patent.sql Data sql table file
Plain text file readField.php Example PHP script file
Image file sug-box.jpg Screen screenshot
Plain text file suggestionbox.php Class PHP Object file

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:205
This week:0
All time:8,432
This week:68Up
User Comments (1)
Very good.
6 years ago (Alekos Psimikakis)
65%StarStarStarStar