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
?php
$From = $_POST['from'];
$Two = $_POST['two'];
$Subject =
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
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 them
?php
$From = $_POST['from'];
$Two = $_POST['two'];
$Subject = $_POST['sub_ject'];
$Comments = $_POST['comments'];
echo b$From/b;print \n;
echo $Two;print \n;
echo $Subject;print\n;
echo $Comments;print \n;
?
?php mail($Two,$Subject,$Comments) ?
Why do you waste time assigning a
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
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 hard
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 you want,
: [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 I have a form with 50 fields on it do I have to:
echo $_POST['one']
.
.
echo $POST['fifty
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']
.
.
echo $POST['fifty']
Or should I, could I use extract()?
Thanks
]
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']
.
.
echo
10 matches
Mail list logo