You have hand coded your connection and named it differently than Dreamweaver does. Your connection file is named conn1_i.php but your connection is named $connect and not $conn1_i like it would be if you had you used Dreamweaver to create it.
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.