This is a simple question for PHP users. The reason I couldn\'t get the the exact difference between mysql_fetch_array() and mysql_fetch_row() in P
mysql_fetch_array()
mysql_fetch_row()
There are 3 functions. mysql_fetch_assoc mysql_fetch_row mysql_fetch_array (a combination of row and assoc)
I would recommend _assoc or _row to optimize your code and keep it clear. If you're grabbing a single column, use $row = mysql_fetch_row $row[0]