[PHP] Grabbing ALL $_POST var at once.

2002-05-06 Thread David J Jackson
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 =

Re: [PHP] Grabbing ALL $_POST var at once.

2002-05-06 Thread Rasmus Lerdorf
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

Re: [PHP] Grabbing ALL $_POST var at once.

2002-05-06 Thread Miguel Cruz
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

Re: [PHP] Grabbing ALL $_POST var at once.

2002-05-06 Thread 1LT John W. Holmes
?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

Re: [PHP] Grabbing ALL $_POST var at once.

2002-05-06 Thread David J Jackson
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

Re: [PHP] Grabbing ALL $_POST var at once.

2002-05-06 Thread David J Jackson
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

Re: [PHP] Grabbing ALL $_POST var at once.

2002-05-06 Thread Miguel Cruz
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,

Re: [PHP] Grabbing ALL $_POST var at once.

2002-05-06 Thread Kevin Stone
: [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

Re: [PHP] Grabbing ALL $_POST var at once.

2002-05-06 Thread 1LT John W. Holmes
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

Re: [PHP] Grabbing ALL $_POST var at once.

2002-05-06 Thread Philip Olson
] 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