I have created a login system based in PHP and MySQL, where upon registration, users enter the information required in the form. However, there is another page where they can review their information once they have logged in. I am new to PHP but I would like to know the code to show the user their OWN information and no other information from any other user. Thanks in advance...let me know if I have to be more clear.
GTRMcLaren
0
Newbie Poster
Recommended Answers
Jump to PostOnce the user is registered and in the database, and have logged in you can make a call into the database for that selected user by some sort of requirement. I.E.
SELECT * FROM User WHERE userid = '1'
The above code my requirement is that the …
Jump to PostYou can serch another thing like the email entered, or the same primary key of your database
All 7 Replies
theonly
0
Light Poster
P0lT10n
GTRMcLaren
0
Newbie Poster
theonly
0
Light Poster
GTRMcLaren
0
Newbie Poster
theonly
0
Light Poster
GTRMcLaren
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.