Searching...

From: Date: Fri, 19 Jul 2002 02:21:58 +0000
Subject: Searching...
Groups: php.db php.general 
Request: Send a blank email to php-db+get-20647@lists.php.net to get a copy of this message
in ym search page, i construct a sql query from user input to search my database, and i run this query to get totalresults. Then run another query with a LIMIT 0, 30 ending for each page. So I'm running 2 mySQL queries per page. My question is, is this inefficient? is there any better way i dont know of? or does the 2 queries not mka emuch of a difference -- Regards, Georgie Casey webmaster@filmfind.tv *************************** http://www.filmfind.tv Online Film Production Directory ***************************

« previous php.db (#20647) next »