Re: POST arrays?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

after removing the single quotes it started to work.

-W

"Stut" <stuttle@xxxxxxxxx> kirjoitti viestissä:4447804F.2080200@xxxxxxxxxxxx
> William Stokes wrote:
>
>>Is it bad just to remove the single quotes [ ' ]  ?
>>
>
> From what? In fact, yes, almost certainly bad.
>
> -Stut
>
>>"Stut" <stuttle@xxxxxxxxx> kirjoitti 
>>viestissä:44477C51.9020102@xxxxxxxxxxxx
>>
>>>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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux