[EMAIL PROTECTED] wrote at 16/07/02 09:44

>          $result = mysql_query("SELECT COUNT(*) as numrows FROM
>table",$db);
>          $row = mysql_fetch_array($result);
>          $num_rows = $row['num_rows'];

Joakim, thanks, that sorted it. Just one note, "numrows" in the sql query 
should be "num_rows"? That's how I got it to work anyway.


-- Clive

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to