note 5067 modified in each by ronabop

From: Date: Wed, 18 Oct 2000 05:02:27 +0000
Subject: note 5067 modified in each by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-6631@lists.php.net to get a copy of this message
If you're using the each() function, and having trouble getting the results you want, be sure to check out the mysql_fetch_array result types... Do you want: this: $profile = mysql_fetch_array( $query_result , MYSQL_ASSOC); this: $profile = mysql_fetch_array( $query_result , MYSQL_NUM); or this: $profile = mysql_fetch_array( $query_result , MYSQL_BOTH); http://www.php.net/manual/function.each.php

« previous php.notes (#6631) next »