PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
i have a shopping cart and i cant figure out how to send the final cart information into a table when the user presses checkout, I also need the cart to clear. This is the cart code i need to pass product name, price, quantity and cart total into same fields in a table upon a submit button. I already tried passing the variables using hidden fields in a form I am really new to PHP the table name is customers and i am using an item_id as PK and auto increment.
Thank you for the reply, i was given a lot of code to use but decided to make my cart a little better instead of just easy so at the final hurdle got stuck the code i was given was the below code but the other code looked better. Once I can get the product name, price and total price to go into the database I can then work on adding maybe customer Id instead of just the auto increment id. But I am grateful for the response.