Hi,
I have a search form that will return results. However, I want to have the results start displaying after a certain number (from the primary key). Say for example ... I have 78 rows...I want to start with id of 24...
my code so far:
thanksPHP Code:$num = $_GET['num'];
$q = $_GET['q'];
mysql_query("SELECT * FROM users WHERE td LIKE '%$q%' LIMIT $num,$snum") or die(mysql_error());
if(strlen($q) > 50) {
echo "Displaying 20 results per page";



Reply With Quote
Bookmarks