PHP 4.0 Bug #6905: ifx_num_rows has an error
| From: | sir_john at gmx dot de | Date: | Wed, 27 Sep 2000 20:35:43 +0000 |
| Subject: | PHP 4.0 Bug #6905: ifx_num_rows has an error | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-33767@lists.php.net to get a copy of this message | ||
From: sir_john@gmx.de
Operating system: Windows NT4 SP6
PHP version: 4.0.2
PHP Bug Type: Informix related
Bug description: ifx_num_rows has an error
The result of ifx_num_rows($result) is always 0!
<?
@$connid=ifx_connect"assdb@ol_assstat", "informix",
"xxx") or die("Error");
$result = ifx_query("SELECT * FROM ae ORDER BY idae", $connid) or die("Error");
$a = ifx_num_rows($result);
echo $a; // <--- $a is always 0
ifx_free_result($result);
?>