I am not really sure where to go with this, but any help I can get would be appreciated.
What I am trying to do is put together an array to use with a foreach loop by getting columns from multiple tables. Here is my query:
$results = mysql_query("SELECT column1,column2,column3 FROM table1,table2,table3,table4");
I think I need an associative array but am not quite sure how to put it together. The data would be in columns as it would be in the table just merged. Is this possible to do?