Re: setcookie with array (was serialize)
| From: | Jason Wong | Date: | Thu, 28 Mar 2002 15:37:57 +0000 |
| Subject: | Re: setcookie with array (was serialize) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-90540@lists.php.net to get a copy of this message | ||
On Thursday 28 March 2002 23:25, Rodrigo Peres wrote:
> Hi list,
>
> Regarding my last post about serialize, I've tried many things but couldn't
> make it function.
>
> I'm trying to store the data from a form in order to allow my user to stop
> the process of filling the form and retrieve later what was inserted
> before.
>
> Among many other thing I tried this little script only to test but didn't
> work. why??
>
> if(isset($submit)) {
> $x = addslashes($HTTP_POST_VARS);
addslashes works on string, $HTTP_POST_VARS is an array?
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
/*
Take care of the luxuries and the necessities will take care of themselves.
-- Lazarus Long
*/