
Just add this code at the top:
<?php
global $conn1_i;
?>

Hello Ray,
I updated the page as above and it seems to work OK on localhost. After updating with ftp I get the message.
Fatal error: Uncaught Error: Call to a member function query() on bool in /homepages/37/d415519235/htdocs/boatsforsalenow/webassist/mysqli/rsobj.php:196 Stack trace: #0 /homepages/37/d415519235/htdocs/boatsforsalenow/index.php(6): WA_MySQLi_RS->execute() #1 {main} thrown in /homepages/37/d415519235/htdocs/boatsforsalenow/webassist/mysqli/rsobj.php on line 196