RE: [PHP] what's wrong with this?

From: Date: Sun, 22 Apr 2001 08:15:16 +0000
Subject: RE: [PHP] what's wrong with this?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-49729@lists.php.net to get a copy of this message
$end should be 15. ie: LIMIT 50, 10 will display 10 rows starting from 51. so, it will show rows 51-60 (included) Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) maxim@phpbeginner.com www.phpbeginner.com -----Original Message----- From: McShen [mailto:webmaster@celebritieszones.com] Sent: Sunday, April 22, 2001 3:00 PM To: php-general@lists.php.net Subject: [PHP] what's wrong with this? this is something related to my last post. $start is passed by the url. like http://mydomain.com/links.ph?start=0; $end =$start+15; $query = "SELECT * FROM refer ORDER BY hits desc LIMIT $start,$end"; it didn't work. Please help. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#49729) next »