Small Problem!

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Joe
Forum Regular
Posts: 939
Joined: Sun Feb 29, 2004 1:26 pm
Location: UK - Glasgow

Small Problem!

Post 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)
kettle_drum
DevNet Resident
Posts: 1150
Joined: Sun Jul 20, 2003 9:25 pm
Location: West Yorkshire, England

Post 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.
Post Reply