Autosuggestion Like Facebook with jQuery, Ajax, PHP and MySQL


AutosuggestPIIn this tutorial Autosuggestion 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 sourcecode in any programming languages.  You can contact me @ :

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

Autosuggestion Like Facebook Source code: Download Sourcecode

Looking for more source code? Type your keyword here here!


Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.