PHP Order Form
Posted: Tue Nov 24, 2009 7:27 am
Greetings people,
I have yet another problem with my current project.
I am creating a point of sale system and I need help with the "Add sale" module of the system and I was hoping for your advice and guide on how to do this.
Basically what I want for this is for users to select the items from the item list in the database in the "newsale.php" page. All the items are select from the database in the "items" table.
newsale.php
Description Category Price Quantity
Item A Cup $1.20 [___3___]
Item B Plate $2.00 [_______]
Item C Bowl $1.50 [___2___]
(Add items)
As of above, User will input the quantity for the items to be purchase from this form and by clicking "Add Items", it will call forth the next page, "processpo.php" which it will identify the id sent and display a similar form as above. The above process is similar to the add to cart function where "processpo.php" is similar to the shopping cart.
At the "processpo.php" page, users will confirm the quantity and details before invoice is submitted to database and print.
Description Category Price Quantity Total
Item A Cup $1.20 [___3___] $3.60
Item C Bowl $1.50 [___2___] $3.00
(Update Items)
(Generate Invoice)
Do I need session for this?
Once again, thanks for the help in advance.
I have yet another problem with my current project.
I am creating a point of sale system and I need help with the "Add sale" module of the system and I was hoping for your advice and guide on how to do this.
Basically what I want for this is for users to select the items from the item list in the database in the "newsale.php" page. All the items are select from the database in the "items" table.
newsale.php
Description Category Price Quantity
Item A Cup $1.20 [___3___]
Item B Plate $2.00 [_______]
Item C Bowl $1.50 [___2___]
(Add items)
As of above, User will input the quantity for the items to be purchase from this form and by clicking "Add Items", it will call forth the next page, "processpo.php" which it will identify the id sent and display a similar form as above. The above process is similar to the add to cart function where "processpo.php" is similar to the shopping cart.
At the "processpo.php" page, users will confirm the quantity and details before invoice is submitted to database and print.
Description Category Price Quantity Total
Item A Cup $1.20 [___3___] $3.60
Item C Bowl $1.50 [___2___] $3.00
(Update Items)
(Generate Invoice)
Do I need session for this?
Once again, thanks for the help in advance.