Hm. There is a little problem - this doesn't work. Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /var/www/html/xxx/tests/count.php on line 28
?
> $query = mysql_query("
> SELECT COUNT(*) as NoOfRecords
> FROM customers
> WHERE last_name = 'Smith'");
> $result = mysql_result($query, 0);
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

