Posted by Mike on 07/16/06 19:14
Thanks Rik. Thats been a big help.
So in my example I could just do this..
$conn = //db connection stuff
$sql = "select VALUES from TABLE LIMIT X,X";
$sql1 = "mysql_query($sql,$conn) or die(mysql_error());
while ($results = mysql_fetch_array($sql1)) {
echo $results['value1'];
echo $results['value2'];
}
...and if the LIMIT was set to 0,20 I would see 20 sets of both value1
and value2.
Many Thanks
Mike
Navigation:
[Reply to this message]
|