Page 1 of 1

Small Problem!

Posted: Thu Jul 08, 2004 12:44 pm
by Joe
I am re-developing the site http://racresearch.com/order.cfm from coldfusion to php and everything has worked out great apart from one thing.

You will see a simple script where you can select items etc but it's not that simple. I have been pulling at my hair for three days now with no luck. My main problem lies in adding a new product from the administration area and allowing users to select the product, I can do it in a way but the user is unable to enter their order in the database as you have to go through custinfo.cfm then confim.cfm. How could I POST the variable values through this.

Usually the admin edits page by page then upload via ftp but that is what I have to change.

Sorry about the bad explination of this problem but I find this problem very hard to defeat.

Any help appreciated!

Regards


Joe 8)

Posted: Fri Jul 09, 2004 6:17 am
by kettle_drum
-grab the data from the database - like a product info table.
-loop through each product to show the form - give each select box an id that relates to the product.
-submit the form
-check the values and save order.

Then you can add whatever product you like into the database and it will jsut be added.