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 directory without reassigning them?
>
> TIH,
> David
>
>
> <?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) ?>
>
>
> --
> 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