mysql_fetch_row()与mysql_fetch_array()的区别
mysql_fetch_row()与mysql_fetch_array()与mysql_fetch_assoc的区别
//mysql_fetch_array($re,MYSQL_ASSOC); 与mysql_fetch_asscoc($re) 输出结果相同
//mysql_fetch_array($re,MYSQL_NUM); 与mysql_fetch_row($re) 输出结果相同
print_r(mysql_fetch_row(mysql_query("select tg_username from tg_user where tg_active=''")));
echo'
';
print_r(mysql_fetch_array(mysql_query("select tg_username from tg_user where tg_active=''"),MYSQL_ASSOC));
?>
赞 (0)