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);
    $y = serialize($x);
    setcookie("posted",$y)
}
if($posted) {
    $w = unserialize($posted);
    $j = stripslashes($w);
    echo(count($j));
}

The script aways returns 1, but I've submited 10 values.

Thank's in advance

Rodrigo


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

Reply via email to