Bug #1939: I can't get result of ifx_num_rows
| From: | musica98 at chollian dot net | Date: | Sun, 01 Aug 1999 15:18:53 +0000 |
| Subject: | Bug #1939: I can't get result of ifx_num_rows | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-9426@lists.php.net to get a copy of this message | ||
From: musica98@chollian.net
Operating system: RedHat6.0
PHP version: 3.0.11
PHP Bug Type: Other
Bug description: I can't get result of ifx_num_rows
I'm user of informix IDS7.3-LE with RedHat6.0
I can't get the result of "IFX_NUM_ROWS"
Following code is my example PHP code.
------------------------------------------
<?
$conn_id = ifx_connect("sotres7@linux","informix","******");
$query = "select * from customer";
$res_id = ifx_query($query,$conn_id);
$rowcount = ifx_num_rows($res_id);
echo($rowcount);
?>
--------------------------------------------
What's wrong?
I can't right result of ifx_num_rows.
Please teach me.