Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:7948 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 89609 invoked by uid 1010); 18 Feb 2004 08:29:37 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 89536 invoked from network); 18 Feb 2004 08:29:37 -0000 Received: from unknown (HELO ms-smtp-01.rdc-nyc.rr.com) (24.29.109.5) by pb1.pair.com with SMTP; 18 Feb 2004 08:29:37 -0000 Received: from [192.168.123.158] (66-108-187-246.nyc.rr.com [66.108.187.246]) by ms-smtp-01.rdc-nyc.rr.com (8.12.10/8.12.7) with ESMTP id i1I8TYS6000961; Wed, 18 Feb 2004 03:29:35 -0500 (EST) In-Reply-To: <200402180851.32871.georg@php.net> References: <200402180851.32871.georg@php.net> Mime-Version: 1.0 (Apple Message framework v612) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-ID: <9390D04A-61EC-11D8-A133-003065FB1208@trachtenberg.com> Content-Transfer-Encoding: 7bit Cc: internals@lists.php.net Date: Wed, 18 Feb 2004 03:29:32 -0500 To: Georg Richter X-Mailer: Apple Mail (2.612) X-Virus-Scanned: Symantec AntiVirus Scan Engine Subject: Re: [PHP-DEV] mysqli_fetch() return values From: adam@trachtenberg.com (Adam Trachtenberg) On Feb 18, 2004, at 2:51 AM, Georg Richter wrote: >> I would like to propose a change in how mysqli_fetch() signifies "no >> more data." It should return NULL instead of MYSQLI_NO_DATA (a >> positive value) because it leads to cleaner PHP code and is more >> consistent with other MySQL fetch functions. > > Thanks for pointing it out. The reason was, that we weren't sure if we > need > other return values (array fetch, etc) for MySQL 5.0/5.1 - but we will > add a > separate function for. I will change it and update documentation later > today. Great. Thanks. -adam -- adam trachtenberg adam@trachtenberg.com