how to make php user login and after login show selected feilds of sql database in the web page
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The easiest way for you to get started would be to use Basic Auth. See http://php.net/manual/en/features.http-auth.php
Now, all that does is get you a username and password, but saves you the hassle from building a login form and dealing with sessions for the moment. (Later on, investigate sessions.)
After you get that far, make a new question on Stack Overflow with your specific question for querying a database. Be sure to include what DB server you are using, your DB schema, and what you have tried thus far.