I have the following code:
$a=array(
'last' => array('Ford', 'Smith', 'Jones', 'Thomas'),
'first' => array('Joe', 'Kyle', 'Nick'),
);
I have all these names in my database, and a couple more like age, etc.
How can I pull all the records from the database and set them as a array for $a? I need them to be in the format above