On 07/13/2011 04:03 PM, Karl DeSaulniers wrote:
> 
> Thanks Shawn,
> I had actually found the same thing myself..
> 
> $subCc = array_map('trim',explode(",",$subCc));
> 
> But I could not find my post last night to make a new comment about it.
> Thank you for yours though.. I did not think of the implode part.
> 
> Best,
> 
> Karl DeSaulniers
> Design Drumm
> http://designdrumm.com
> 

You probably want the array_filter() in there also, because commas at
the beginning or end or other issues can leave you with empty array
elements that will still be imploded resulting in just a comma.

-- 
Thanks!
-Shawn
http://www.spidean.com

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

Reply via email to