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

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

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

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

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

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

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 y

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 ha

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 1LT John W. Holmes
> $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

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 th

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 di

[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 $From";print "\n"; echo $Two;print "\n"; echo $Subject;print"\n"; echo $Commen