I'm trying to get a MySQL result like "SELECT * FROM sales" into an array that looks like this:
$data = array(
array('June 25', 12.25),
array('June 26', 8.00)
I tried it with a while loop but it didn't work. How can i do this?
Thanks in advance.