Jump to content

So whats different between mysql_fetch_array() and mysal_fetch_assoc()


Demonic

Recommended Posts

try

$row = mysql_fetch_array($result);
echo '<pre>', print_r($row, 1), '</pre>';

$row = mysql_fetch_assoc($result);
echo '<pre>', print_r($row, 1), '</pre>';

 

and see for yourself. Or you could just rtfm.

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.