I am trying to query multiple tables that have the same field name and return the results. It should only return one result because there is only one possible id with the database, I just don't know which table to look in, so I'm trying to look in all of them.
any way here is the query:
"SELECT * FROM Table1, Table2, Table3, Table4 WHERE Table1.ID = '$id', Table2.ID = '$id', Table3.ID = '$id', Table4.ID = '$id'";
any ideas on what I am doing wrong?