ckson" <[EMAIL PROTECTED]>
> To: "1LT John W. Holmes" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Monday, May 06, 2002 3:07 PM
> Subject: Re: [PHP] Grabbing ALL $_POST var at once.
>
>
> > John ---
> > Thanks for your re
]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, May 06, 2002 3:07 PM
Subject: Re: [PHP] Grabbing ALL $_POST var at once.
> John ---
> Thanks for your reply, but let me rephase the question.
> Let say I have a form with 50 fields on it do I have to:
>
> echo $_POST['one'
D]>
To: "1LT John W. Holmes" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, May 06, 2002 1:07 PM
Subject: Re: [PHP] Grabbing ALL $_POST var at once.
> John ---
> Thanks for your reply, but let me rephase the question.
> Let say
On Mon, 6 May 2002, David J Jackson wrote:
> Thanks for your reply, but let me rephase the question.
> Let say I have a form with 50 fields on it do I have to:
>
> echo $_POST['one']
>
> .
> .
> echo $POST['fifty']
>
>
> Or should I, could I use extract()?
You can use extract if y
John ---
Thanks for your reply, but let me rephase the question.
Let say I have a form with 50 fields on it do I have to:
echo $_POST['one']
.
.
echo $POST['fifty']
Or should I, could I use extract()?
Thanks in advance,
David
p.s I said it was UGLY :)
> ?>
>
> If that's too ha
Rasmus Lerdorf wrote:
> See either extract() or import_request_variables() in the manual.
Rasmus --
I appreciate you taking the time to reply to my posting.
David
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> $From = $_POST['from'];
> $Two = $_POST['two'];
> $Subject = $_POST['sub_ject'];
> $Comments = $_POST['comments'];
> echo "$From";print "\n";
> echo $Two;print "\n";
> echo $Subject;print"\n";
> echo $Comments;print "\n";
> ?>
>
Why do you waste time assigning a variable to a variable...Is it
On Mon, 6 May 2002, David J Jackson wrote:
> The code below works (but its ugly), but I know there has to be a why to
> grab all the $_POST[] at once and then parse them out?
>
> Isn't there a why for me to access them directory without reassigning them?
They're just variables. You can print th
See either extract() or import_request_variables() in the manual.
-Rasmus
On Mon, 6 May 2002, David J Jackson wrote:
> The code below works (but its ugly), but I know there has to be a why to
> grab all the $_POST[] at once and then parse them out?
>
> Isn't there a why for me to access them di
The code below works (but its ugly), but I know there has to be a why to
grab all the $_POST[] at once and then parse them out?
Isn't there a why for me to access them directory without reassigning them?
TIH,
David
$From";print "\n";
echo $Two;print "\n";
echo $Subject;print"\n";
echo $Commen
10 matches
Mail list logo