Hi,
I have a database with: FirstName, LastName, Username, EmailAddress, and, ultimately, Password. I'm writing a user authentication system where I need to get all these fields from the database EXCEPT for the 'Password' field because at this point the user should not know the password.
Is there a way of doing this in a simple SELECT MySQL query?
I know that I could:
>SELECT FirstName, LastName, Username, EmailAddress FROM 'MyUserTable' WHERE Username='$username'
but I'm wondering if I can do something like:
>SELECT * (EXCLUDE Password) FROM 'MyUserTable' WHERE Username='$username'
:p
Thank you,
Ilir.