Wednesday, December 28, 2011

PHP Fatal error : Cannot break/continue 1 level

Because you are using break without "switch...case" or looping. You can solve this by changing "break" to "return" to exit from the function.

Enjoy!!! .. all the best... :)

No comments:

Post a Comment