Jump to content

Super simple!!PHP search function


Yamaha32088

Recommended Posts

well, use a html form. Google it.

and to carry about what users have put in the text field, use a query

 

$result = mysql_query("SELECT * FROM `table` WHERE `field` = '{$input}' ") or die(mysql_error());

 

thats an extremely simple search engine that won't be the most effective, but start from there, and learn as you go along.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.