cvs: /php4/pear/DB mysql.php

From: Date: Fri, 10 Dec 1999 15:01:43 +0000
Subject: cvs: /php4/pear/DB mysql.php
Groups: php.version4 
Request: Send a blank email to php-version4+get-7762@lists.php.net to get a copy of this message
andrei Fri Dec 10 10:01:43 1999 EDT Modified files: /php4/pear/DB mysql.php Log: (DB_mysql::fetchInto) new method. Index: php4/pear/DB/mysql.php diff -u php4/pear/DB/mysql.php:1.3 php4/pear/DB/mysql.php:1.4 --- php4/pear/DB/mysql.php:1.3 Wed Dec 8 08:49:35 1999 +++ php4/pear/DB/mysql.php Fri Dec 10 10:01:11 1999 @@ -133,6 +133,18 @@ } // }}} + // {{{ fetchRow() + + function fetchInto($result, &$arr) { + $arr = mysql_fetch_row($result); + if (!$arr) { + // XXX ERRORMSG + return false; + } + return DB_OK; + } + + // }}} // {{{ freeResult() function freeResult($result) {

« previous php.version4 (#7762) next »