Thanks for the reply.
I have tried updating my code with your suggestion but I get a new error.
New error: (Parse error: parse error, unexpected '!', expecting T_STRING or T_VARIABLE or '$' in ...).
This is my new code:
if (isset(!$_POST['submit']))
{
I presume I have implemented your suggestion incorrectly?
One other question, your post suggests using the board's bbcode tags to make reading the php snippets easier, but I couldn't find how to use these codes in the forum?
Sorry to be such an ignoramous :o Tim.