Bug #949: informix function bug! => ifx_affected_rows
| From: | youngtk at www dot dm dot co dot kr | Date: | Tue, 24 Nov 1998 06:43:24 +0000 |
| Subject: | Bug #949: informix function bug! => ifx_affected_rows | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-2573@lists.php.net to get a copy of this message | ||
From: youngtk@www.dm.co.kr
Operating system: AIX 4.2.1
PHP version: 3.0.5
PHP Bug Type: Other
Bug description: informix function bug! => ifx_affected_rows
Here is my source ...
<?php
$conn = ifx_connect("stores7@test","informix","test");
$query = "SELECT * FROM customers";
$rid = ifx_query($query,$conn);
$rowcount = ifx_affected_rows($rid);
echo $rowcount;
?>
The value of $rowcount is 1! Why? The real row count is 150!
My Configuration is ...
configure --prefix=/home --with-apache=/home/tmp/apache_1.3.3 --with-gd=no --with-mysql=/home/mysql
--with-informix=/usr/inf --with-imap=/home --with-config-file-path=/home/etc
--with-exec-dir=/home/libexec --enable-track-vars=yes --enable-memory-limit=yes
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net