TwitterRooms
01-27-2012, 05:58 PM
hi guys me again this is what i have
$result = mysql_query("SELECT * FROM table WHERE firstname LIKE '%".$searchterm."%'");
which works just great BUT if i want to seach
$result = mysql_query("SELECT * FROM table WHERE lastname LIKE '%".$searchterm."%'");
how so search ALL rows/columns firstname,lastname,username ect
P.S i'm getting it slowly lol
$result = mysql_query("SELECT * FROM table WHERE firstname LIKE '%".$searchterm."%'");
which works just great BUT if i want to seach
$result = mysql_query("SELECT * FROM table WHERE lastname LIKE '%".$searchterm."%'");
how so search ALL rows/columns firstname,lastname,username ect
P.S i'm getting it slowly lol