Question: PHP code. So I am making a shopping and cart feature in my website, but my Product.php file isn't working. It doesn't even show up

PHP code. So I am making a shopping and cart feature in my website, but my Product.php file isn't working. It doesn't even show up with the customer logs in and goes to My Account because when the customer logs in it goes to their profile then they click on My Account to go to the Prodcut.php page where they can shop. But when I do that I get an error. When I did have it working the quantity of products starts with 1 when I would like for it to start with 0. When you click on add to cart, it doesn't show up in the cart it says "cart is empty". HELP!

MY CODE IS TOO LONG TO POST HERE go to my GitHub repository to see the code. https://github.com/Razor2b/CSIS410BRINKLEY/tree/main/CMS

The files I need help with are my Products.php and cart.php.

If you know of a better way to do a shopping code please share

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!