John asked me to reply
MySql 4.0.24
PHP 4.0.24
The relevant section of PHP code is :
$row=$ProdsPerPage*$page;
$query= "SELECT * FROM products";
for ($i=0;$i<$ProdsPerPage;$i++)
{
$query1 = $query." ORDER BY Name LIMIT ";
$query1 .=$row+$i;
$query1 .=", 1";
$result = mysql_query($query1) or die("Select Query failed : " . mysql_error());
$line = mysql_fetch_assoc($result);
// Html to dispslay comes here
}
I've found the problem: I was restructuring the database this afternoon and forgot to index the field "Name";
It works a bit quicker now!
bob