pcman Posted January 25, 2009 Share Posted January 25, 2009 what is that doing in this line mysql_fetch_array($query,MYSQL_ASSOC) Quote Link to comment 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. Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.