Re: cvs: php-src /ext/pgsql pgsql.c

From: Date: Tue, 10 May 2005 22:39:03 +0000
Subject: Re: cvs: php-src /ext/pgsql pgsql.c
References: 1 2  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-31838@lists.php.net to get a copy of this message
On Tue, 10 May 2005 15:34:10 -0700 Andi Gutmans <andi@zend.com> wrote: > So why not just do: > + if (result_type & PGSQL_NUM) { > + if (result_type& PGSQL_ASSOC) { > > Why do you need to reference PGSQL_BOTH? I might be missing something > (didn't look at the .c file) but it seems strange. Then I'll probably need to a check for result_type to be only PGSQL_NUM, PGSQL_ASSOC, PGSQL_BOTH. No ? -- Wbr, Antony Dovgal aka tony2001 antony@zend.com

« previous php.cvs (#31838) next »