How to make a mysql query a PHP Native Array
Posted in Ajax, Computers, PHP on Apr 17th, 2008 No Comments »
Hello everyone
surely you have the problem how to convert a mysql query in a PHP array using an X * Y dimentional table, ideal if you are working with JSON and need to convert it.
it’s really easy to do, look
$recordset = mysql_query($query, $database) or die(mysql_error());
do{
[…]

