you can if you're lazy like me, make two seperate mysql SELECT statements for each table and then assign the results to the same array, and then iterate over the array you made with a foreach..
like so:
$kwery = "SELECT crap FROM you1";
$result = php_query($kwery);
while ($row = mysql_fetch_object($result)){
$bigarray[crap] = $row->crap;
}
$kwery = "SELECT crap2 FROM you2";
$result = php_query($kwery);
while ($row = mysql_fetch_object($result)){
$bigarray[crap2] = $row->crap2;
}
now print_r($bigarray);
its all there..
the better way to do this tho is to combine the two table queries into one SELECT statement with the
select table.row as data1, table2.row as data2.. syntax that you can read all about at mysql.com
peace, love and crackiness.
dross
http://www.dross.com/