note 52087 added to function.ifx-num-rows
| From: | icespawn11882 at hotmail dot com | Date: | Wed, 20 Apr 2005 22:56:36 +0000 |
| Subject: | note 52087 added to function.ifx-num-rows | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-88296@lists.php.net to get a copy of this message | ||
This function give always 0 as result so I used ifx_affected_rows to count rows of a query's
result...
An example of this function:
$conn_id = ifx_connect("db", "user", "password");
$res_id = ifx_query("select * from systables", $conn_id);
$res = ifx_affected_rows($res_id);
echo $res;
$res contains the number of rows in the result of the query after his execution.
Para Massimiliano
----
Manual Page -- http://www.php.net/manual/en/function.ifx-num-rows.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+52087
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+52087&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+52087&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+52087&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+52087&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+52087&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+52087&report=yes
Search -- http://master.php.net/manage/user-notes.php