GetDotted Domains

Viewing Thread:
"PHP implode problems..."

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Thu 28/07/05 at 14:17
Regular
"Peace Respect Punk"
Posts: 8,069
Just wondering if anyone knows why I might be getting the following error:
Warning: implode(): Bad arguments.

The line of the error is simply this:
$requiredInfo = implode(", ", $info);

Where $info is an array of strings... $info shouldn't be an empty array as there's a seperate 'if' block to catch the case where the $info array has length > 1...

Any ideas...? Can't see what argument is wrong myself... The seperator is just a comma and the array is valid... :-S



EDIT: Don't worry... Discovered it wasn't working because I was using implode in a function, but didn't pass the $info variable to it... So $info was an empty array in that scope... Nevermind, all working now!
There have been no replies to this thread yet.
Thu 28/07/05 at 14:17
Regular
"Peace Respect Punk"
Posts: 8,069
Just wondering if anyone knows why I might be getting the following error:
Warning: implode(): Bad arguments.

The line of the error is simply this:
$requiredInfo = implode(", ", $info);

Where $info is an array of strings... $info shouldn't be an empty array as there's a seperate 'if' block to catch the case where the $info array has length > 1...

Any ideas...? Can't see what argument is wrong myself... The seperator is just a comma and the array is valid... :-S



EDIT: Don't worry... Discovered it wasn't working because I was using implode in a function, but didn't pass the $info variable to it... So $info was an empty array in that scope... Nevermind, all working now!

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

Thanks!
Thank you for dealing with this so promptly it's nice having a service provider that offers a good service, rare to find nowadays.
Excellent support service!
I have always found the support staff to provide an excellent service on every occasion I've called.
Ben

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.