RE: [PHP] Correct handling _POST[] and implode. PHP5
| From: | bearsfoot | Date: | Fri, 09 Oct 2009 08:59:56 +0000 |
| Subject: | RE: [PHP] Correct handling _POST[] and implode. PHP5 | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-298796@lists.php.net to get a copy of this message | ||
Hi Andrea,
Thanks for your responses.
The output from echo '<pre>', var_dump($_POST['Colors']),
'</pre>';
is --> string(5) "Array"
I am using php version 5.2.10.
It is strange that you posted the same array and ran the implode function ok
? That has me baffled. I am several forms within the application, but
this is the first array.
Thanks.
Andrea Giammarchi-3 wrote:
>
>
>
>>
>> echo $_POST['Colors'] . '<br />'; // outputs 'Array'
>
> try with
>
> echo '<pre>', var_dump($_POST['Colors']), '</pre>';
>
> to be sure abot the structure. Also, which PHP version?
>
> Regards
>
> _________________________________________________________________
> Keep your friends updated—even when you’re not signed in.
>
> http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_5:092010
>
--
View this message in context: http://www.nabble.com/Correct-handling-_POST---and-implode.-PHP5-tp25815789p25817793.html
Sent from the PHP - General mailing list archive at Nabble.com.