You need to connect to your desired database first.
Every time a new user gets registered create a new user account in database and store all his / her details in database.
When ever an user logs in compare his username and password with the existing database and if it matches then login.
Maintain the session till the user logs out.
You need to connect to your desired database first.
Every time a new user gets registered create a new user account in database and store all his / her details in database.
When ever an user logs in compare his username and password with the existing database and if it matches then login.
Maintain the session till the user logs out.
Have you tried as suggested in previous posts ?
Post the code that you have tried so far for further discussion on the topic.
Comment