With this I'm needing to start off by logging in. This is done by putting in the email of a customer and pressing the login button (this is the customer_login.php page). The login button goes through the index.php page and then goes to the product_register.php page. Once the product_register.php page is opened, the first name of the customer that is associated with the email is automatically shown, then there is a drop down that is used to select the product that is being registered. Then when you click on the register product button it is to show a statement on the same product_register.php page stating "Product (product name that was inputted in the drop down) was registered successfully. How can I get the coding that I have now to be able to do that?
Chloe_6
0
Newbie Poster
Recommended Answers
Jump to PostSo looking at customer_login.php, I'm not sure what you mean to do here:
<form action="index.php" method="post" value="login_customer">
You cannot set a value of "login_customer" to the form itself. I think what you mean to do is:
<form action="index.php" method="post"> <input type="hidden" name="action" value="login_customer">
The …
Jump to PostPlease show me what all your code looks like now, with all the echo statements included.
Confirm you're referring to clicking on the button to delete a product, correct?
All 5 Replies
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
Chloe_6
0
Newbie Poster
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
Chloe_6
0
Newbie Poster
Chloe_6
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.