Your server is running php7 and you are using a standard mysql connection instead of MySQLi.
You will have to create a MySQLi version of that page or downgrade to a php version less than 7 (usually php 5.6)
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.