[PHP-DEV] Bug #949: informix function bug! => ifx_affected_rows From: youngtk <email protected>
Date: 11/24/98

From: youngtk <email protected>
Operating system: AIX 4.2.1
PHP version: 3.0.5
PHP Bug Type: Other
Bug description: informix function bug! =&gt; ifx_affected_rows

Here is my source ...

<?php

$conn = ifx_connect("stores7 <email protected>","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 <email protected>
For help: php-dev-help <email protected>