Re: weird!

From: Date: Fri, 11 Apr 2003 17:27:03 +0000
Subject: Re: weird!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-143543@lists.php.net to get a copy of this message
----- Original Message ----- From: "Sebastian" <sebastian@dslr.net> To: "php list" <php-general@lists.php.net> Sent: Friday, April 11, 2003 11:22 PM Subject: [PHP] weird! > very strange, the id is 18 yet it ouputs 180000000 > why? > > > $result = @mysql_query("SELECT id FROM news ORDER BY time DESC LIMIT 0,8"); > while($row = mysql_fetch_row($result)) > { > echo $row['id']; > } > > > cheers, > - Sebastian LIMIT 0,8 means retrieve 8 rows starting at row 0. Do all eight rows contain a value? - Kevin

« previous php.general (#143543) next »