I want to be able to select the column from users and dusers. example:
select u.user, d.user FROM users u JOIN dusers .... etc.
…like so:
echo $row[‘u.user’]
echo $row[‘d.user’]
I tried this, but no go. How do I specify what table to retrieve the user from?
Alias the columns in the select clause:
then you can use: