Thank you for your help. I tried following you example but I am getting a syntax error and I am afraid I do not know enough to fix it or know what might be happening. Could you take a look at where I have gone wrong. I have included the php file.
Many thanks as always