469,140 Members | 1,139 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,140 developers. It's quick & easy.

When someone registers in my online store, how to identify if they have already bought (from my db) to show their purchases in their profile?

Hi guys. I have just created an intranet in my online store and I'm new at programming so need some help. I'm developing a system that makes this possible: when a user registers, the database detects that they are already a customer who has bought previously and it makes their purchases appear on another page, in this case, in the section of their profile.

I need some help since I don't know how to do it or how to link the php and Mysql code between the registration form and the existing user profile page since it is not a tool that prints the user's data on the same page but rather prints them in another, in the profile section.

Thank you very much in advance! :)
Jul 27 '21 #1
1 21959
dev7060
489 Expert 256MB
Hi guys. I have just created an intranet in my online store and I'm new at programming so need some help. I'm developing a system that makes this possible: when a user registers, the database detects that they are already a customer who has bought previously and it makes their purchases appear on another page, in this case, in the section of their profile.

I need some help since I don't know how to do it or how to link the php and Mysql code between the registration form and the existing user profile page since it is not a tool that prints the user's data on the same page but rather prints them in another, in the profile section.

Thank you very much in advance! :)
What do you have so far?
Jul 29 '21 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

By using this site, you agree to our Privacy Policy and Terms of Use.