Supose I have table item having field item_id,item_name,price. one more table is onvoice which is having the field
invoice_id,item_id,price,quantatity.
now I want to create an form invoice.php in which I am taking the item name from item table in the select box
now if select box have multiple=true condion and i have selected three items
there sould be thing come like that.
item_name qtybox pricebox where qtybox and pricebox are text boxes
same for
ither two shold come how can i do do the whole code.
give me the full code
Moderator: General Moderators
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
-
Charles256
- DevNet Resident
- Posts: 1375
- Joined: Fri Sep 16, 2005 9:06 pm
- Ambush Commander
- DevNet Master
- Posts: 3698
- Joined: Mon Oct 25, 2004 9:29 pm
- Location: New Jersey, US
Comments are not constructive. BUT... I suggest breaking down your request into smaller bits: what exactly don't you understand? If you ask smaller questions, we will be able to help you, but we're probably not going to write the page for you. Plus it would be horrible/hacky/untested code, so you probably don't want it anyway.