cturner Posted January 11, 2008 Share Posted January 11, 2008 I am trying to setup an order form on my website. Am stuck with the following: I need to determine which package was selected and how many years was selected. Also I need to find out which items have been selected in the listbox. Then add the total cost of that to the selected package cost. Then multiple the how many years to the total cost of all of the above. The listbox has addons for the package which will have prices within it. As well as names of the addons. Can someone please help me with this? Thanks in advance. Quote Link to comment https://forums.phpfreaks.com/topic/85609-order-form-problems/ Share on other sites More sharing options...
Ken2k7 Posted January 11, 2008 Share Posted January 11, 2008 What's your code so far? Quote Link to comment https://forums.phpfreaks.com/topic/85609-order-form-problems/#findComment-436899 Share on other sites More sharing options...
cturner Posted January 11, 2008 Author Share Posted January 11, 2008 There is a lot of code. However this is as far as I got with the above: if (($package == '50 MB') AND ($periodof == '1 year') AND ()) { $total = "$"; } elseif () { } Quote Link to comment https://forums.phpfreaks.com/topic/85609-order-form-problems/#findComment-436909 Share on other sites More sharing options...
Ken2k7 Posted January 11, 2008 Share Posted January 11, 2008 There is a lot of code. However this is as far as I got with the above: if (($package == '50 MB') AND ($periodof == '1 year') AND ()) { $total = "$"; } elseif () { } Uh...that doesn't help this situation one bit. Post your form. Quote Link to comment https://forums.phpfreaks.com/topic/85609-order-form-problems/#findComment-436913 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.