garf159 Posted December 16, 2012 Share Posted December 16, 2012 hi guys i am sort of new to php and i am having problems trying to get an order form to insert multiple items under one id as i am making an e-commerce site and need to save the order of products that they wish to purchase. i am sorry in advance for the amount of code i have done as there is quite allot i will attach the files that i have done that are associated with the cart, if anyone can help i will forever be grateful i have made a couple of attempts in other files but to no ovail, thank you all in advance currently i am running the code on xampp until i can get a live server, i know i need to change my code to organise my links which i will do through header and footer files soon. currently i am not sure if my order form is set up correctly i wish to just store order-id product id, name, price, quantity and date in the invoice form i am not sure if i will need anything else, in my product table i have id,name,type, price,quantity, postage and image in the cart.php file everything works until i need to insert the order, i have commented out two methods i have tried one method is not complete as i tried a draft version of it in another folder which didn't work i am looking forward to see if someone can help me out or give me some advice in to what i should do, cart.php Function.php index.php viewitem.php Quote Link to comment https://forums.phpfreaks.com/topic/272064-inserting-multiple-items-under-one-id/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.