mysql_db_query question

From: Date: Fri, 01 Sep 2000 01:18:30 +0000
Subject: mysql_db_query question
Groups: php.general 
Request: Send a blank email to php-general+get-14714@lists.php.net to get a copy of this message
Hello, I don't know what is going on here. I am running a simple query on a db to get the max number of rows then a query with LIMIT in it. but the second mysql_db_query does not work. Here is the source: $result=mysql_db_query("wildlife",$query,$link); $max_num=mysql_num_rows($result); echo $max_num ." ". $result; $query.=" LIMIT $offset,10"; $result=mysql_db_query("wildlife",$query,$link); echo "<br>".$result."<br>".$query; this is what it returns. 40 2 3 select * from prints LIMIT 0,10 Thanks for the help. Chuck

« previous php.general (#14714) next »