Hi guys (and girls)
I need your professional help with this unusual task.:rolleyes:
Now, I'm not a php retard, I'm ok ( really π ), but this one I have not done before.
I am building this php/mysql application for a company to enter and store upto 140 items that will be used to generate proposals.
So far.. I have 2 tables: items and proposals.
The items table has: item_id, desc, cost, and price.
The proposals table has: prop_id, ( cutomer info fields ) and cust_items field.
Now, the problem I am having, is...
When they start a new proposal, they enter customer name address.. etc and select all the items needed out of the 140 items, for that customer. Now if there are 140 mysql rows in a table containing the items, how would I insert all the items selected into the proposals ( cust_items ) field?
I was thinking to insert all the selected items ID's into the proposals ( cust_items ) field using commas to seperate the items.
The thing is.. I would need to select all the proposal fields on the next page to print the generated proposal with all the items, prices, and descriptions and total price.
Please, someone guide me!!
I would GREATLY appreciate any info, ideas, or code samples!!
Thank you in advance.
Chris
If anyone can crack this task, you are a GOD! π
also let me know if I need to explain more.