09.10.2012, 12:12
Quote:
EXPLAIN WHAT IS WRONG. Don't just give out code or they'll be back with the same thing.
@OP: Unreachable code is code that is never going to be executed (therefore, unreachable). You had an opening bracket (yes ******, I said it your way this time xD) in the middle of your code and returned 1 over there which is a bit silly. A return statement stops the execution of any following code in the function. |