> -----Original Message-----
> From: Terion Miller [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 19, 2008 8:32 AM
> To: php-general@lists.php.net
> Subject: [PHP] Invalid Arguements
> 
> I am still getting the Invalid arguement error on this implode:
> 
> if (isset($_POST['BannerSize'])){$BannerSize =
> implode(',',$_POST['BannerSize']);} else {$BannerSize = "";}
> 
> I have moved the ',', from the beginning to the end of the statement
> and
> nothing works is there any other way to do this, basically there is a
> form
> and the people entering work orders can select different sized banners
> they
> need, which goes into the db as text ....so...argh...

Take the time to read what people have suggested. I seem to remember
people asking you if you had run is_array() on your so-called array.
Well, if you didn't, and it's NOT an array, and therefore will NOT work
with implode(), then feel free to facepalm ahead of time.


// Todd

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

Reply via email to