PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Hi there.
We are getting errors on the implode code.
Is the current version of PHP using this differently now??
Error is PHP Warning: implode(): Invalid arguments passed.
simonmlewis wrote:Great thanks. Is it bad code or just old code?
Bad code:
0) by design - usage of global in a function;
1) by design - mixing business logic and views;
2) by implementation - initializing a variable as a string and later implicitly casted and used as an array.
3) Code formatting?
There are 10 types of people in this world, those who understand binary and those who don't