Re: [PHP] [NEWBIE] Cant get $_POST to work

2005-02-21 Thread Jochem Maas
John Nichel wrote: The Disguised Jedi wrote: i think you have to use the ID parameter in the input tag in your HTML Name: Age: try that and see how it goes If I'm not mistaken, ID in a form element will assign it a 'style', much the same way as 'class' does. It's been a while since I've do

Re: [PHP] [NEWBIE] Cant get $_POST to work

2005-02-20 Thread The Disguised Jedi
Well, I guess I was wrong...I looked it up and that is correct...I couldn't remember which was the one that was needed to get the params in the right spot. -- The Disguised Jedi [EMAIL PROTECTED] Now you have my $0.02. Or .01 Pounds, .014 Euros, or $0.025 CAN. I'm already internationally c

Re: [PHP] [NEWBIE] Cant get $_POST to work

2005-02-20 Thread John Nichel
Randy Johnson wrote: try $HTTP_POST_VARS maybe it is an older version of PHP Randy Good catch. -- By-Tor.com ...it's all about the Rush http://www.by-tor.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] [NEWBIE] Cant get $_POST to work

2005-02-20 Thread John Nichel
The Disguised Jedi wrote: i think you have to use the ID parameter in the input tag in your HTML Name: Age: try that and see how it goes If I'm not mistaken, ID in a form element will assign it a 'style', much the same way as 'class' does. It's been a while since I've done any HTML/CSS, so

Re: [PHP] [NEWBIE] Cant get $_POST to work

2005-02-20 Thread b1nary Developement Team
That's it right there... Damn, why didn't I think of that. Hey David, what version of php are you running? Randy Johnson wrote: try $HTTP_POST_VARS maybe it is an older version of PHP Randy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] [NEWBIE] Cant get $_POST to work

2005-02-20 Thread Randy Johnson
t Team [mailto:[EMAIL PROTECTED] Sent: Sunday, February 20, 2005 3:40 PM To: David Freedman; php Subject: Re: [PHP] [NEWBIE] Cant get $_POST to work What's up David... This script *should* work... I don't see any errors, but try this anyways. In your change your print command to this:

Re: [PHP] [NEWBIE] Cant get $_POST to work

2005-02-20 Thread The Disguised Jedi
ry Developement Team [mailto:[EMAIL PROTECTED] > > Sent: Sunday, February 20, 2005 3:40 PM > > To: David Freedman; php > > Subject: Re: [PHP] [NEWBIE] Cant get $_POST to work > > > > > > What's up David... This script *should* work... I don't see any erro

Re: [PHP] [NEWBIE] Cant get $_POST to work

2005-02-20 Thread Randy Johnson
Developement Team [mailto:[EMAIL PROTECTED] Sent: Sunday, February 20, 2005 3:40 PM To: David Freedman; php Subject: Re: [PHP] [NEWBIE] Cant get $_POST to work What's up David... This script *should* work... I don't see any errors, but try this anyways. In your change your print comma

Re: [PHP] [NEWBIE] Cant get $_POST to work

2005-02-20 Thread John Nichel
dbfreedman wrote: I am so new I don't know what you mean by 'test.php" David Please reply to the list...better chance of finding the answer to your problem that way. You have the action of your form set to 'test.php', i.e. you should have a file in the same directory as your form called test.php

Re: [PHP] [NEWBIE] Cant get $_POST to work

2005-02-20 Thread Andre Dubuc
age- > > From: b1nary Developement Team [mailto:[EMAIL PROTECTED] > > >Sent: Sunday, February 20, 2005 3:40 PM > >To: David Freedman; php > >Subject: Re: [PHP] [NEWBIE] Cant get $_POST to work > > > > > >What's up David... This script *should* work..

Re: [PHP] [NEWBIE] Cant get $_POST to work

2005-02-20 Thread b1nary Developement Team
empty, which is my problem. The darn $_POST thing does not work at all for me, and I am trying to find out why. -Original Message- From: b1nary Developement Team [mailto:[EMAIL PROTECTED] Sent: Sunday, February 20, 2005 3:40 PM To: David Freedman; php Subject: Re: [PHP] [NEWBIE] Cant get $_PO

RE: [PHP] [NEWBIE] Cant get $_POST to work

2005-02-20 Thread eatc7402
3:40 PM To: David Freedman; php Subject: Re: [PHP] [NEWBIE] Cant get $_POST to work What's up David... This script *should* work... I don't see any errors, but try this anyways. In your change your print command to this: print("Hello, " . $name . "! You are "

Re: [PHP] [NEWBIE] Cant get $_POST to work

2005-02-20 Thread b1nary Developement Team
What's up David... This script *should* work... I don't see any errors, but try this anyways. In your change your print command to this: print("Hello, " . $name . "! You are " . $age . " years old!"); What those periods do is simply append them to each other, so in this case, you have the s

Re: [PHP] [NEWBIE] Cant get $_POST to work

2005-02-20 Thread John Nichel
David Freedman wrote: I have this simple form file: Name: Age: Which passes (I wish!) data to this script: What's the output if you put this on test.php... print_r ( $_POST ); ?> -- By-Tor.com ...it's all about the Rush http://www.by-tor.com -- PHP General Mailing List (http://www.

[PHP] [NEWBIE] Cant get $_POST to work

2005-02-20 Thread David Freedman
I have this simple form file: Name: Age: Which passes (I wish!) data to this script: It does not work unless I turn register_globals ON in the php.ini file. The php documentation leads me to believe this script SHOULD work with register_globals OFF. This a NEW instasllation of the