note 24710 added to function.mysql-fetch-array

From: Date: Mon, 26 Aug 2002 19:19:55 +0000
Subject: note 24710 added to function.mysql-fetch-array
Groups: php.notes 
Request: Send a blank email to php-notes+get-35685@lists.php.net to get a copy of this message
Hi all, Just like to point out either a spelling mistake, or a somthing that isn't pointed out too well. The seccond argument that can be passed is the "..[, int result_type])". It doesn't tell you this while explaining the seccond argument but I can only pass the argument in numerical form so MYSQL_ASSOC is 1, MYSQL_NUM is 2, and MYSQL_BOTH is 3 (or don't provide the argument). Now this could be a mistake in my version of PHP (4.2.2) or it should be "..[, string result_type])". All I know is, I can't provide a string as the seccond argument. Hope this helps :D Brent -- http://www.php.net/manual/en/function.mysql-fetch-array.php http://master.php.net/manage/user-notes.php?action=edit+24710 http://master.php.net/manage/user-notes.php?action=delete+24710 http://master.php.net/manage/user-notes.php?action=reject+24710

« previous php.notes (#35685) next »