Hello everyone,
I have a database it has 4 columns: id, name, description, cure.
I want to be able to type in the name of something into the search bar and for it to show the the result below using ajax/jquery.
in php it would be like, select * where `name` = $_POST
and if it doesn't match the EXACT name, then to show a message saying 'no results'
Get what i mean?
heres the image
http://i55.tinypic.com/162c5k.png
it needs to also pull the information from description column into the textarea aswell as displaying the cure column.
Cheers