Do you simply need to view all of the values passed through the form?  In
that case try something like..

foreach ($_POST as $name => $value)
{
    echo $name." : ".$value."<br>";
}

-Kevin

----- Original Message -----
From: "David J Jackson" <[EMAIL PROTECTED]>
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 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 to understand, use extract().
> >
> > ---John Holmes...
> >
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to