Hi Normando,
Thanks for your answer.
The scripts didn't run fine with the bracket in place All we got was a white screen. Then, by activating the PHP errors (as detailed in another post), we got the error message 'Parse error: parse error, unexpected '}' in /home/e-smith/files/ibays/wpsa/html/gastenboek/guestbook.php on line 222'.
Removing the bracket allowed the php program to run further, it just didn't add anything to the bulletin board or the file where the messages are stored.
In answer to your advice about how to migrate, I carried out a backup of the old server using the backup feature in server-manager, and the used the restore function on the newly-installed version 7 server (same machine).
The web site worked perfectly on earlier versions of the server, and we haven't changed anything, only the server version.
Thanks again for your post, any further advice would be very much appreciated. If I haven't given enough (or the right) information please ask.