NYCPHP Meetup

NYPHP.org

[nycphp-talk] gnubie questions regarding working with form contents...

Greg Wilson greg at mbwpartners.net
Thu May 1 23:00:41 EDT 2003


Joshua

You'll probably want to dump the POST variables into a different array
before you unset. Try:

$arr = array();
$arr = $HTTP_POST_VARS;       // or is it $arr[] = $HTTP_POST_VARS;
unset($arr['submit']);
foreach ($arr as $key => $value) {
 echo "Key: $key; Value: $value<br>\
";
 $message .= $key ." = ". $value ."<br>\
";
}

Good luck!

greg


On Thu, 2003-05-01 at 22:40, Joshua S. Freeman wrote:
> brilliant Greg..
> 
> I'll try it all out tomorrow and let everyone know how it worked out.
> 
> Thanks!
> 
> g'night!
> 
> J.
> 
> On 5/1/03 10:38 PM, "Greg Wilson" <greg at mbwpartners.net> wrote:
> 
> > On Thu, 2003-05-01 at 22:21, Joshua S. Freeman wrote:

<SNIP>




More information about the talk mailing list