Originally Posted by marek_mar
mysql_fetch_array() is in PHP since PHP3. mysql_fetch_assoc() is from in PHP4.0.3.
mysql_fetch_assoc($result) is is the same as mysql_fetch_array($result, MYSQL_ASSOC)
Both are in the manual under the mysql extension functions.
Pshaw. Bre, your not listening. The book I have is a localy published paper-back off-brand
meaning not something like O'Reily's stuff, private. It didn't have mysql_fetch_array() anywhere, so i was using mysql_fetch_assoc() until somone told me that it was much more "standard" to use mysql_fetch_array(), and he linked me to the function discovered it for the first time. This book I think was written in the eyes of one PHP coder with his own style, for lack of better words. I mean like how he does his code, and what functions he uses, etc.