Re: mysql_fetch_array strangeness

From: Date: Mon, 22 Jan 2001 02:19:16 +0000
Subject: Re: mysql_fetch_array strangeness
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-35937@lists.php.net to get a copy of this message
> $rowData = mysql_fetch_array($result); mysql_fetch_array can return an array with only numeric indices, only text (fieldname) indices, *OR* *BOTH*, the default. You need to use the "optional" argument: $rowData = mysql_fetch_array($result, MYSQL_ASSOC); By Day: |By Night: Don't miss the Zend Web Store's | There's not enough room here... Grand Opening on January 23, 2001! | Start here: http://www.zend.com | http://l-i-e.com/artists.htm

« previous php.general (#35937) next »