Log in

View Full Version : mysql_fetch_assoc() ??


MyPornLife.info
10-15-2009, 05:20 AM
we do mysql_fetch_array() by $db->fetch_array() in vB

but what should I use to do mysql_fetch_assoc() ??

ps: i tried $db->fetch_assoc() or $vbulletin->db->fetch_assoc()...not working

Adrian Schneider
10-15-2009, 05:49 AM
$db->fetch_array($result) calls mysql_fetch_array($result, MYSQL_ASSOC) which is the equivalent of mysql_fetch_assoc($result)

use $db->fetch_array() :)

MyPornLife.info
10-15-2009, 10:33 AM
thank you sir