Posted by Mike on 07/16/06 18:27
OK, think I have got it...
I can do the count using select count(id) and the maths to work out the
start and finish.
This is how I think using mysql_fetch_array works...
$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)) {
$value1 = $results['value1'];
$value2 = $results['value2'];
Navigation:
[Reply to this message]
|