Re: Array problem

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

 



On Oct 27, 2010, at 10:53 AM, Don Wieland wrote:

> Hi. I have question regarding an array:
> 
> This is a print of a POST array from a form of mine:
> 
> Array
> (
>    [SelVol] => Array
>        (
>            [0] => ohontheledge@xxxxxxxxx
>            [1] => donw@xxxxxxxxxxxxx
>        )
> 
>    [id_Event] => 10
>    [sDate] => 10/31/2010
>    [Note] => FFF
> )
> 
> I am trying to implode the Sel_Vol and it is not giving me the results I want.
> 
> $BCC = implode(",", $_POST['Sel_Vol']);
> 
> I want a comma separated result =
> 
> $BCC = "ohontheledge@xxxxxxxxx,donw@xxxxxxxxxxxxx";
> 
> Little help - pretty please
> 
> Don Wieland
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


I am not sure if you have a typo or if your code is actually in error. 

Here the key is Sel_Vol

> $BCC = implode(",", $_POST['Sel_Vol']);


Here you are debuging SelVol (Without the underscore)

>    [SelVol] => Array

This is my only immediate reaction.
-- 
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