Autosuggestion Like Facebook with jQuery, Ajax, PHP and MySQL


Auto Suggestion Search In PHP

In this tutorial Autosuggestion Search In PHP Like Facebook, I will teach on how to create an Autosuggest in a search box like in facebook with jQuery, Ajax, PHP and MySQL database. This functionality will help you search data in the database when only knew is its keyword. For instance, the word “Facebook“.

I’m going to use Bootstrap Templates for the plugin to my design.

Let’s begin:

  • Create a MySQL database and name it “peopledb“.
  • Do the following query for creating a table.

  • Insert the following data in the table.

  • Create a configuration between MySQL database and PHP script.

  • Create page and name it “loaddata.php“. After that, do the following codes for retrieving data from the database.

  • Create a page and name it “index.php”.
  • Create a css style for the layout of your design.

  • Do these following codes for the design of your search box.

  • Finally, Create a script for the method of fetching data from the “loaddata.php”.

For all students who need programmer for your thesis system or anyone who needs a source code in any programming languages.  You can contact me @ :

Email – [email protected]
Mobile No. – 09305235027 – tnt

Auto suggestion Search Like Facebook Source code: Download Source code

Leave a Comment