Hey, that is new to me!  Thanks!  FletchSOD

"Kevin Stone" <[EMAIL PROTECTED]> wrote in message
01de01c22216$984c5740$6501a8c0@kevin">news:01de01c22216$984c5740$6501a8c0@kevin...
> Oh man I hope you don't shoot yourself when you realize how easy this is..
>
> foreach ($_POST as $key => $val)
> {
>     $str .= "&$key=$val";
> }
>
> Then just crop the first char off and there you go.
>
> -Kevin
>
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, July 02, 2002 4:10 PM
> Subject: [PHP] $_POST into a formatted string, help!
>
>
> > Hello,
> >
> > I need to get _$POST into a string in this form:
> > tree=green&sky=blue&sun=yellow , how can i accomplish this?
> >
> > THanks.
> >
> >
> > --
> > 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