Chris Shiflett wrote:

It loses all new data:

<input type="hidden" name="post"
value="<?php echo htmlspecialchars(serialize($_POST)); ?>" />

<input type="text" name="this_will_be_lost" />

Because of this:

$_POST = unserialize(stripslashes($_POST['post']));

I think array_merge will fix this:


$_POST = array_merge($_POST,unserialize(stripslashes($_POST['post'])));



Erwin Kerk
Web Developer

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



Reply via email to