Can someone help me to get started with serializing? I think I did'nt quite 
understand the manual here...

How to post to $PHP_SELF and read this simple array?

<?
//print the posted array here
print_r($arr_siirt_jouk);

//create the array and post it in another name
$arr_siirto = array(1,2,3);
<input type="hidden" name="arr_siirt_jouk" value="<?php echo 
"$arr_siirto";?>">
?>


I tried:

<?
//print the posted array here
unserialize($arr_siirt_jouk);
print_r($arr_siirt_jouk);

//create the array and post it in another name
$arr_siirto = array((serialize('1','2','3'));
<input type="hidden" name="arr_siirt_jouk" value="<?php echo 
"$arr_siirto";?>">
?>

Which, to my great surprice, didn't work :)


Thanks
-Will


"Barry" <[EMAIL PROTECTED]> kirjoitti 
viestissä:[EMAIL PROTECTED]
> William Stokes wrote:
>> No other way?
>>
>>
>
> Over sessions or saving as file and loading it in the following page.
>
> -- 
> Smileys rule (cX.x)C --o(^_^o)
> Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o) 

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

Reply via email to