RE: Invalid Arguements

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

 



> -----Original Message-----
> From: Terion Miller [mailto:webdev.terion@xxxxxxxxx]
> Sent: Wednesday, November 19, 2008 8:32 AM
> To: php-general@xxxxxxxxxxxxx
> Subject:  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



[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