Ran across this, but I cannot quite grasp it, especially beginning with the LIMIT phrase. Thanks for any help.
$sql = sprintf ("SELECT *
FROM $tbl_name
WHERE title LIKE '%s' OR description LIKE '%s'
LIMIT $start, $limit",
mysql_real_escape_string('%'.$search_term.'%'),
mysql_real_escape_string('%'.$search_term.'%') );
The Limit keyword allows you to select ‘pages’ of records, for example when you want records 26 through 50. The sprintf function takes a string with placeholders (%s,etc) and the variables to insert in those placeholders. Does that clear things up?