Menu
I have 2 tables: lss1 & lss2 and the content needs to be selected from either table depending on the criteria.
[code=php]$sql=”SELECT * FROM lss1, lss2 WHERE id=$variable”;
I am getting the following error: “Couldn’t execute query: Column ‘id’ in where clause is ambiguous”
How do I not make the “id” ambiguous when it could go to either table?