how do i query my database using a value parsed by a html from?

  • Thread starter Thread starter strawberry
  • Start date Start date
S

strawberry

Guest
Hi,
I am trying to create a simple search engine to search document stored in an sql database.
I have managed to create the form to parse the variable entered, however i can't seem to find any assistance on how to write the php to grab the 'search term' and query that word/words in the database.

Any sites or snippets of code would be awesome.

Basically want i want to be able to do is say... enter 'Bruno' and search all titles (column 1), description (column 2) and display these results.
 
Back
Top