okay, what I need to do is make a query that will select the same named column on two tables. because my user library is split into two tables, but all names must be unique and accessed for loggin in. So I need to check for the username in both tables and get the info from the one that matches. in my book it says it's possible to select a column from two tables like so
select username from users1, users2 where username='$username'
but it warns me that the columns are ambiguous
so it tells me to do this:
select user1.username, user2.username from user1, user2 where username='$username'
but this doesnt work, so how could I do this?