Adding a value to a field in PHP and mysql(shopping cart ex)
Posted: Wed Feb 02, 2005 12:23 pm
Hye
I'm attemting to create a sort of a shopping cart system for a restaurant where by users can add items and purchase and these item is then displayed in a history(Account info)
My question is how would i add a value to a field which i select from say a check box list. I've can retrive the value of the check box but how do i add a price to that value when i insert the values into the table at the mysql end?
Hope somebody can help?????
Regards,
Shab
I'm attemting to create a sort of a shopping cart system for a restaurant where by users can add items and purchase and these item is then displayed in a history(Account info)
My question is how would i add a value to a field which i select from say a check box list. I've can retrive the value of the check box but how do i add a price to that value when i insert the values into the table at the mysql end?
Hope somebody can help?????
Regards,
Shab