pcman Posted January 25, 2009 Share Posted January 25, 2009 what is that doing in this line mysql_fetch_array($query,MYSQL_ASSOC) Link to comment https://forums.phpfreaks.com/topic/142394-solved-what-is-it-mysql_assoc/ Share on other sites More sharing options...
Mchl Posted January 25, 2009 Share Posted January 25, 2009 Telling mysql_fetch_array to return associative array. Click the link to read more. Link to comment https://forums.phpfreaks.com/topic/142394-solved-what-is-it-mysql_assoc/#findComment-746066 Share on other sites More sharing options...
toplay Posted January 25, 2009 Share Posted January 25, 2009 It's clearly documented in the manual found here: http://us2.php.net/manual/en/function.mysql-fetch-array.php It specifies that an associative array be returned (instead of a numeric index). EDIT: Mchl beat me to it. Link to comment https://forums.phpfreaks.com/topic/142394-solved-what-is-it-mysql_assoc/#findComment-746068 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.