note 52087 deleted from function.ifx-num-rows by cmb
| From: | cmb@php.net | Date: | Wed, 04 Nov 2020 21:23:16 +0000 |
| Subject: | note 52087 deleted from function.ifx-num-rows by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-215808@lists.php.net to get a copy of this message | ||
Note Submitter: icespawn11882 at hotmail dot com
----
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