Jump to content

Best way to do a search engine (just a database search, not a web search engine)


tibberous

Recommended Posts

Lets say it is just a single field from a database.

 

Should I do something like:

 

$searchterm = mysql_escape_string($searchterm);

 

mysql_result("select * from table where description like='%$searchterm%'");

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.