It isn't working if, for one, you are using something someone else wrote and you copied it. If the columns in the DB don't match up to the code, its not going to work. If you have the wrong username, host, password and DB name, its not going to work. If your PHP code is not able to retrieve the data your form is passing through...guess what, its not going to work. All you need is your form and write your PHP code which Ben and I explained above to retrieve the value from the textbox then do a SELECT to your DB and use the...yes the LIKE %$textbox% to pull the records of everything "$textbox" ($textbox = the name of the textbox in the form and the $_GET or $_POST) matches in your database then display it to a table. If Ben doesn't understand whats going on in that code its time to get a new script .