Dear,
user validation:
Do you have a code i can use for user validation in my registration page.
I need to get the username from the sql database to compare it with the username that is filled in into the registration page.
I need to check if the username typed in by the user already exists in the sql database. If the username already exists i need to give an error and if the username does not yet exists the registration need to be succesfull
current user ID:
If the user is logged in, how do I save their information throughout the whole app (for ex: their profile)?
So I can request their information anytime like the current user ID.
thanks