The error is reporting the problem at line 13 of the Connections/connMegan.php file. the one you sent does not have a line 13, it ends at line 10. It cannot be the same version of the file that is causing the error.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.