View Single Post
Old 08-09-2009, 11:26 AM   #3 (permalink)
russellharrower
The Contributor
 
russellharrower's Avatar
 
Join Date: Jul 2009
Posts: 80
Thanks: 13
russellharrower is on a distinguished road
Default

If you don't mind can you show me an example, of how you would use this in a MySQL
Code:
$sql = "SELECT * FROM sh WHERE sitename LIKE '%".$quary."%' OR keywords LIKE '%".$quary."%' OR title LIKE '%".$quary."%' OR body LIKE '%".$quary."%' OR writtenby LIKE '%".$quary."%' ORDER BY datetime DESC LIMIT $start, $limit";
russellharrower is offline  
Reply With Quote