Search a database

I was wondering if anybody can help me search for “name” in a database.

  1. Search for name in the searchfield and show results in the listbox. I just followed the tutorial from a youtube video but it did not show the search.

Thank you…


Take a peek at the database’s Prepare method and use SQL statements such as:

SELECT * FROM people WHERE name=$1

For example. You may wish to look into a tutorial on SQL as well to help along the way,