Tuesday, July 5, 2011

Re: [phpXperts] Eliminate the short search term

 

my code is like this:

$apt = "select * from 'table_name' where 'field1' like '%".$_GET['search']."%' or 'field2' like '%".$_GET['search']."%' or ........................... and so on..........



don't worry about caps and small letters I am just giving an example.


--
Best,

Guru™

__._,_.___
Recent Activity:
Visit phpXperts website at www.phpxperts.net
.

__,_._,___

No comments: