PHP 4.0 Bug #6905 Updated: ifx_num_rows has an error
| From: | Bug Database | Date: | Wed, 27 Sep 2000 20:40:07 +0000 |
| Subject: | PHP 4.0 Bug #6905 Updated: ifx_num_rows has an error | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-33769@lists.php.net to get a copy of this message | ||
ID: 6905
User Update by: sir_john@gmx.de
Status: Open
Bug Type: Informix related
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);
?>
Previous Comments:
---------------------------------------------------------------------------
[2000-09-27 16:35:43] sir_john@gmx.de
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);
?>
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6905