Tom, this is great, you're a hero :)
At the risk of pushing my luck here, can I ask you to cast your eye over my current code for your page2.php, which is now page4.php as I played it safe and saved a couple of versions along the way before going out on a limb? I changed all the connection and database and table and column names, and added a row (User Level) and made it a dropdown list (have I learned a lot lately! pretty good for a php novice :-P) and it all worked - until I click on Save and I get the following error:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE VisitorID=NULL' at line 1
I can't see what it's referring to. I will attach it here as I can't see how to display code in a message on this forum.
Thanks heaps, Jen