I want to create an array from 2 tables in a database. The code i am using looks something like this:
$i=0;
while($this=mysql_fetch_array($that)){
$myarray[$s]=array(id=>$varfromtable1,
date=>$varfromtable2);
$i++;
}
Can anybody tell me what's wrong with this?
Thanks