Hi, and welcome to PHPBuilder!
For parse errors, the first thing you should do is post a few lines above and below the line number indicated in the error message, rather than uploading the whole code. If we need more, we can always say so. 🙂
As for your error, the problem is with code like this:
<?php echo //$var1_Recordset2; ?>
The closing '?>' tag can act as a terminating semicolon if one is missing, thus you have 'echo' followed by a closing semicolon with no string in between. If you don't want to echo anything there, comment out the 'echo' as well.