How would I take the results of the following MySQL statement and put it
into an array as follows?

SELECT * FROM numbers WHERE type=`1`;
SELECT * FROM numbers WHERE type=`2`;

$example_data = array(
 array("1",25,8),
 array("2",10,8)
);

All the results of type=`1` would be in the first nested array and all the
results of type=`2` would be in the second and so on.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to