in reply to else statement

Can you enclose your code in code tags (<code> ... </code>) please.

There's more than two problems, I'm afraid.

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.