Posted by smythe70 on 11/18/30 11:56
How do mysql_query() and mysql_fetch_assoc() actually work?
When I submit a query to a MySQL database it goes away, works out what
I requested and throws it back at me. When I submit a query using PHP I
submit the query using mysql_query and then iterate through the result
set sing mysql_fetch_assoc() (or mysql_fetch_array() or
mysql_fetch_row()). What is the purpose of mysql_fetch_xxxx()? Why
can't mysql_query return a two dimensional array? What trickery is
going on?
[Back to original message]
|