FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » use a value form a manu list in a form on the same page
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: use a value from a menu list in a form on the same page [message #181234 is a reply to message #181228] Mon, 22 April 2013 12:37 Go to previous messageGo to previous message
David Robley is currently offline  David Robley
Messages: 23
Registered: March 2013
Karma:
Junior Member
newbie php wrote:

> Hi all,
>
> I'm so glad you guys helped me out a couple of days ago, so i thought i'd
> had another go. Here's the situation: in a form i want a visitor to choose
> form a list a value of 1 to 10. This chosen value should be multiplied by
> a value of 2750 which should be stored in a variable and shown on the page
> (recalculated by any change in the list) this value does nog necesarily be
> in the form itself. The most important question is how to put the chosen
> value in a variable.
>
> Any help is greatly appreciated
>
> cheers

Check out http://au1.php.net/manual/en/faq.html.php. Of course you'll want
to check whether any values from the list have been passed in when the page
loads, before you do any calculations.

--

Cheers
David Robley

Join the army, meet interesting people, kill them.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: cause of error is what?
Next Topic: testing for source to use
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 09:47:53 GMT 2024

Total time taken to generate the page: 0.19689 seconds