>From here:
$arr_siirto = array((serialize('1','2','3'));

after removing the single quotes it started to work.

-W

"Stut" <[EMAIL PROTECTED]> kirjoitti viestissä:[EMAIL PROTECTED]
> William Stokes wrote:
>
>>Is it bad just to remove the single quotes [ ' ]  ?
>>
>
> From what? In fact, yes, almost certainly bad.
>
> -Stut
>
>>"Stut" <[EMAIL PROTECTED]> kirjoitti 
>>viestissä:[EMAIL PROTECTED]
>>
>>>William Stokes wrote:
>>>
>>>
>>>>OK. Must try that.
>>>>
>>>>BTW theres something odd about my serialize. I got it return something 
>>>>but not quite what was expected :) Here's the result "a:3:{i:0;s:1:"
>>>>
>>>>
>>>You need to use htmlentities() (http://php.net/htmlentities) on the 
>>>serialized data when putting it into the value attribute of the input 
>>>tag.
>>>
>>>-Stut
>>> 

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

Reply via email to