AJAX Search suggestion script

I'll try to be as especific as possible. This should be fairly easy if you know what you're doing and should not take too long. I'm looking for this ASAP. Please bid ONLY after reviewing carefully what I'm asking for.




I need a simple search form that will give 5 suggestions based on what's being typed. I'm looking for something very similar to google search suggestions in terms of look and functionality.

The suggestions will be queried from strings in a MySQL database using AJAX.

For each string/record in the db, The suggestions must be return in this format:

RecordID - ...(3 Previous words) <b>Keyword</b> (3 Previous words)...


String = "Hello there, this is a test string just for nothing"

If somebody is searching for the keyword 'test' the suggestion would be as follows:

ID#1 ...this is a <b>test</b> string just for...

string = 1 record in DB

Then this process will continue to 5 more records generating a total of 5 suggestions.


If there's more than one occurence of keyword in string


If there is more than one occurrency of the keyword in the same string (record), then the suggestions will be generated as the following sample:

String = "Hello there, this is a test string just for testing purposes and nothing else."

If somebody is searching for the keyword 'test' the suggestions would be as follows:

ID#1 ...this is a <b>test</b> string just for...

ID#1 ...string just for <b>test</b>ing purposes and nothing...

NOTE that in this case a single record returned two suggestions

Then the process will continue with other records for a total of 5 suggestions.





- User must be able to move (navigate) between suggestions using the up/down keys.. See google search suggestions as example.

- Commented code - please use comments in your code

It is very likely I'll be contacting the winner for more similar projects if results are satisfactory.


Those asking for a db structure use this example:

ID | myString |
1 | This is a string |

BTW the suggestions in the suggestion box, when clicked, or entered, will redirect to a link (page.php?id=1).

Skills: AJAX, PHP

See more: suggestion script, ajax suggestion, search suggestion script, suggestion ajax, ajax search suggestions, ajax search suggestion, php ajax suggestion, ajax suggestion sample, suggestions script, ajax suggestion box, search suggestions script, search suggestion ajax, ajax search suggestion script php, ajax suggestion mysql, ajax suggestion example, search box suggestions script, search suggestions ajax, php mysql ajax search suggestion, ajax search suggestion script, ajax search suggestions php

About the Employer:
( 3 reviews ) Falls Church, United States

Project ID: #334143

Awarded to:


I am ready to go , please check pmb for demo:)

$75 USD in 0 days
(65 Reviews)

6 freelancers are bidding on average $86 for this job


VALUEONWEB is a customer-specific service oriented company has got a Professional and creative team. We are the Professional Web Development Company having rich experience in Web design and development. We have exp More

$100 USD in 1 day
(212 Reviews)

Please check PM

$100 USD in 2 days
(84 Reviews)

Please check PMB

$90 USD in 4 days
(6 Reviews)

Can be done easily.

$50 USD in 1 day
(5 Reviews)

I have more than 6 yrs experience having worked for multinational corporations. I can show you samples of my previous work if you want.

$100 USD in 5 days
(5 Reviews)