From:             [EMAIL PROTECTED]
Operating system: Linux
PHP version:      4.0.6
PHP Bug Type:     MySQL related
Bug description:  MYSQL_NUMROWS no longer returns a value in PHP 4.0.6

I have a short script that displays the number of rows from a mysql_query
using mysql_numrows. It lives in my windows taskbar and refreshes every
hour while I'm on the computer.

Today my hosting company upgraded to PHP 4.0.6 from 4.0.5 and the
mysql_numrows is no longer returning a value. Using mysql_num_rows solves
the problem.

A basic version of my script is:
<?php
$result = MYSQL_QUERY("...");
$rows = MYSQL_NUMROWS($result);
echo "$result</b>";
?>

I do not control the webserver, so the hosting company may have used
different command line options when they upgraded.
-- 
Edit bug report at: http://bugs.php.net/?id=12661&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to