Should not it be: $SQL = "SELECT * FROM table ORDER BY id asc LIMIT ".($autoindex -5)." ,5;";
John Taylor-Johnston wrote:
I don't know whether this is a MySQL or PHP quesiton.
$SQL = "SELECT * FROM table ORDER BY id asc LIMIT $autoindex -5 ,5;";
I would like to get the autoindex value of my table and use it in my SQL. Can I get the autoindex? :) How?
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

