search bar using Php and MySQL

Hello Guys,
This video is on how to search for anything from the MySQL database using the search bar and displaying the search results using a table.


Link to my Previous Videos

CURL Function and Making HTTP and HTTPS requests to browser :
Retrieving Data From Database Using PDO object in PHP :
Upload a File to MySQL Database using PHP :
Insert data into MySQL Database using PHP :
Login Form In PHP And MySQL :

NCS: Music Without Limitations

NCS Spotify:

Download / Stream:

Want to use this track? Please copy & paste this into your description:

Song: Jim Yosef – Link [NCS Release]
Music provided by NoCopyrightSounds.

Thanks For Watching!


Xem thêm bài viết khác:

20 thoughts on “search bar using Php and MySQL

  1. hi can you tell me where to make database because I don't know about php I'm designing a website with HTML/CSS but I need a working searchbar like this in my site.

  2. definitely does not work. I search and always get it does not exist – but the term does exist in DB. however, very few error checks in the code so I have no idea where the flaw could be

  3. What results will show if I will search half word like only first

    .. I want to make search that will return relative words of alfabates.

  4. Hello your code works just fine but it shows me only the first result of the sql command and i want all of them can you help me ?

  5. i tried it and it works but the search results are compact to each other, how do we give adequate spacing between each column

  6. Uncaught Error: Call to undefined method mysqli_stmt::setFetchMode() in C:
    Call to undefined method mysqli_stmt::setFetchMode() in C

    I am using wamp and these are the errors showing


    Fatal error: Uncaught PDOException: could not find driver in C:xampphtdocsphplesPROJECT2profile.php:6 Stack trace: #0 C:xampphtdocsphplesPROJECT2profile.php(6): PDO->__construct('msql:dbname=fea…', 'root', '') #1 {main} thrown in C:xampphtdocsphplesPROJECT2profile.php on line 6

  8. typing in SQL database doesn't work
    can you help me?
    INSERT INTO 'search'('id', 'Name', 'Description') VALUES (1,'first name','Description of first name');
    INSERT INTO 'search'('id', 'Name', 'Description') VALUES (2,'second name','Description of second name');
    INSERT INTO 'search'('id', 'Name', 'Description') VALUES (3,'third name','Description of third name');

  9. i wanna cry, it doesn´t work. dont show the results

Leave a Reply

Your email address will not be published. Required fields are marked *