Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #9173 > unrolled thread
| Started by | newbie php <s.hoitinga@gmail.com> |
|---|---|
| First post | 2013-04-22 03:40 -0700 |
| Last post | 2013-05-24 00:19 +0000 |
| Articles | 11 — 7 participants |
Back to article view | Back to comp.lang.php
use a value form a manu list in a form on the same page newbie php <s.hoitinga@gmail.com> - 2013-04-22 03:40 -0700
Re: use a value form a manu list in a form on the same page Doug Miller <doug_at_milmac_dot_com@example.com> - 2013-04-22 11:10 +0000
Re: use a value form a manu list in a form on the same page Twayne <nobody@spamcop.net> - 2013-05-23 16:57 -0400
Re: use a value form a manu list in a form on the same page Doug Miller <doug_at_milmac_dot_com@example.com> - 2013-05-23 21:55 +0000
Re: use a value form a manu list in a form on the same page Twayne <nobody@spamcop.net> - 2013-05-23 16:58 -0400
Re: use a value form a manu list in a form on the same page Doug Miller <doug_at_milmac_dot_com@example.com> - 2013-05-23 21:55 +0000
Re: use a value form a manu list in a form on the same page Scott Johnson <noonehome@chalupasworld.com> - 2013-05-23 15:38 -0700
Re: use a value form a manu list in a form on the same page Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-04-22 14:14 +0200
Re: use a value form a manu list in a form on the same page Twayne <nobody@spamcop.net> - 2013-05-23 17:03 -0400
Re: use a value from a menu list in a form on the same page David Robley <me@home.invalid> - 2013-04-22 22:07 +0930
Re: use a value form a manu list in a form on the same page Denis McMahon <denismfmcmahon@gmail.com> - 2013-05-24 00:19 +0000
| From | newbie php <s.hoitinga@gmail.com> |
|---|---|
| Date | 2013-04-22 03:40 -0700 |
| Subject | use a value form a manu list in a form on the same page |
| Message-ID | <0bb368d4-5bd4-4cbb-aeb9-6962aa134b6d@googlegroups.com> |
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
[toc] | [next] | [standalone]
| From | Doug Miller <doug_at_milmac_dot_com@example.com> |
|---|---|
| Date | 2013-04-22 11:10 +0000 |
| Message-ID | <XnsA1AA4954B2D7Bdougmilmaccom@78.46.70.116> |
| In reply to | #9173 |
newbie php <s.hoitinga@gmail.com> wrote in news:0bb368d4-5bd4-4cbb-aeb9- 6962aa134b6d@googlegroups.com: > 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 Do your own homework.
[toc] | [prev] | [next] | [standalone]
| From | Twayne <nobody@spamcop.net> |
|---|---|
| Date | 2013-05-23 16:57 -0400 |
| Message-ID | <knlvr8$ma2$1@speranza.aioe.org> |
| In reply to | #9174 |
On 4/22/2013 7:10 AM, Doug Miller wrote: > newbie php <s.hoitinga@gmail.com> wrote in news:0bb368d4-5bd4-4cbb-aeb9- > 6962aa134b6d@googlegroups.com: > >> 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 > > Do your own homework. > How do you know it's a homework assignment? Or is that just a fecetious attempt to start flames? When you have nothing to say, that's exactly what you should say; NOTHING!
[toc] | [prev] | [next] | [standalone]
| From | Doug Miller <doug_at_milmac_dot_com@example.com> |
|---|---|
| Date | 2013-05-23 21:55 +0000 |
| Message-ID | <XnsA1C9B6F078AE6dougmilmaccom@78.46.70.116> |
| In reply to | #9549 |
Twayne <nobody@spamcop.net> wrote in news:knlvr8$ma2$1@speranza.aioe.org: > On 4/22/2013 7:10 AM, Doug Miller wrote: >> newbie php <s.hoitinga@gmail.com> wrote in >> news:0bb368d4-5bd4-4cbb-aeb9- 6962aa134b6d@googlegroups.com: >> >>> 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 >> >> Do your own homework. >> > How do you know it's a homework assignment? Isn't it obvious? >Or is that just a fecetious > attempt to start flames? It got *your* panties in a wad, anyway... > > When you have nothing to say, that's exactly what you should > say; NOTHING! I *did* have something to say -- "do your own homework" -- and I said it. *You*, on the other hand, have not contributed anything useful to this thread, or, indeed, to any other thread in any other newsgroup which you have infested -- so I need to add *yet another* of your constantly-shifting nyms to the killfile. Buh-bye!
[toc] | [prev] | [next] | [standalone]
| From | Twayne <nobody@spamcop.net> |
|---|---|
| Date | 2013-05-23 16:58 -0400 |
| Message-ID | <knlvuc$ma2$2@speranza.aioe.org> |
| In reply to | #9174 |
On 4/22/2013 7:10 AM, Doug Miller wrote: > newbie php <s.hoitinga@gmail.com> wrote in news:0bb368d4-5bd4-4cbb-aeb9- > 6962aa134b6d@googlegroups.com: > >> 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 > > Do your own homework. > Hmm, another copy-cat. Perhaps some Interpersonal Skills would help you.
[toc] | [prev] | [next] | [standalone]
| From | Doug Miller <doug_at_milmac_dot_com@example.com> |
|---|---|
| Date | 2013-05-23 21:55 +0000 |
| Message-ID | <XnsA1C9B70544A98dougmilmaccom@78.46.70.116> |
| In reply to | #9550 |
Twayne <nobody@spamcop.net> wrote in news:knlvuc$ma2$2@speranza.aioe.org: > On 4/22/2013 7:10 AM, Doug Miller wrote: >> newbie php <s.hoitinga@gmail.com> wrote in >> news:0bb368d4-5bd4-4cbb-aeb9- 6962aa134b6d@googlegroups.com: >> >>> 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 >> >> Do your own homework. >> > Hmm, another copy-cat. Perhaps some Interpersonal Skills would > help you. Idiot. It's the same post.
[toc] | [prev] | [next] | [standalone]
| From | Scott Johnson <noonehome@chalupasworld.com> |
|---|---|
| Date | 2013-05-23 15:38 -0700 |
| Message-ID | <knm5hs$pb8$2@dont-email.me> |
| In reply to | #9553 |
On 5/23/2013 2:55 PM, Doug Miller wrote: > Twayne <nobody@spamcop.net> wrote in > news:knlvuc$ma2$2@speranza.aioe.org: > >> On 4/22/2013 7:10 AM, Doug Miller wrote: >>> newbie php <s.hoitinga@gmail.com> wrote in >>> news:0bb368d4-5bd4-4cbb-aeb9- 6962aa134b6d@googlegroups.com: >>> >>>> 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 >>> >>> Do your own homework. >>> >> Hmm, another copy-cat. Perhaps some Interpersonal Skills would >> help you. > > Idiot. It's the same post. > hahahaha....whew...I needed a good laugh, thanks
[toc] | [prev] | [next] | [standalone]
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Date | 2013-04-22 14:14 +0200 |
| Message-ID | <273350007.qHK6TKOJqZ@PointedEars.de> |
| In reply to | #9173 |
newbie php wrote: > […] Get a real name, and learn how to post in a readable way (even via Google Groups, if absolutely necessary), then we can talk. PointedEars -- Prototype.js was written by people who don't know javascript for people who don't know javascript. People who don't know javascript are not the best source of advice on designing systems that use javascript. -- Richard Cornford, cljs, <f806at$ail$1$8300dec7@news.demon.co.uk>
[toc] | [prev] | [next] | [standalone]
| From | Twayne <nobody@spamcop.net> |
|---|---|
| Date | 2013-05-23 17:03 -0400 |
| Message-ID | <knm06s$ni6$1@speranza.aioe.org> |
| In reply to | #9178 |
On 4/22/2013 8:14 AM, Thomas 'PointedEars' Lahn wrote: > newbie php wrote: > >> […] > > Get a real name, and learn how to post in a readable way (even via Google > Groups, if absolutely necessary), then we can talk. > > > PointedEars > Looks like you're too lazy to bother reading the ng for responses in my opinion. Putting a real name and address into a ng is a sure way to assist those who wish to spam/scam and thieves one's identity. Or is that what you're about? scraping personal ID data? Lotsa luck, pointed.
[toc] | [prev] | [next] | [standalone]
| From | David Robley <me@home.invalid> |
|---|---|
| Date | 2013-04-22 22:07 +0930 |
| Subject | Re: use a value from a menu list in a form on the same page |
| Message-ID | <kl3aus$m4h$1@news.albasani.net> |
| In reply to | #9173 |
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.
[toc] | [prev] | [next] | [standalone]
| From | Denis McMahon <denismfmcmahon@gmail.com> |
|---|---|
| Date | 2013-05-24 00:19 +0000 |
| Message-ID | <knmbmj$qhr$3@dont-email.me> |
| In reply to | #9173 |
On Mon, 22 Apr 2013 03:40:12 -0700, newbie php wrote: > I'm so glad you guys helped me out a couple of days ago, so i thought > i'd had another go. You did? How did that work out for you. > Here's the situation: in a form i want a visitor to choose form a list a > value of 1 to 10. Yeah, in a form if you want the user to choose a number like that you can use an html select / option, or a set of radio buttons, or you could use a text input and let the user enter a number, but they might enter a number outside your range. > 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 sounds more like a javascript thing than a php thing, you probably don't want to submit your form to the server each time the user changes their option. > this value does nog necesarily be in the form itself. The most important > question is how to put the chosen value in a variable. Not quite sure what a nog is. Well you'd use an appropriate javascript function to get the value from the input type that you were using, making sure that you did any needed conversions to numeric data if it started life as a string value, and then do the relevant multiplication and display it in a suitable output location. > Any help is greatly appreciated You're welcome. xp and fu set, this sounds like primarily a js issue, not a php one -- Denis McMahon, denismfmcmahon@gmail.com
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.php
csiph-web