Ok, so here is what I have right now:
$stuff = mysql_query("SELECT * FROM Table1, Table2") or die(mysql_error());
if ($info = mysql_fetch_array($stuff)) {
$table1ID = $info['Table1.ID'];
$table2ID = $info['Table2.ID'];
}
My problem is this does not work. I get nothing. And when I do this:
$stuff = mysql_query("SELECT * FROM Table1, Table2") or die(mysql_error());
if ($info = mysql_fetch_array($stuff)) {
$table1ID = $info['ID'];
$table2ID = $info['ID'];
}
It is the same ID (of course). So how do I get the ID of the first table and the second table when they have the same name?