$dbserverIP="localhost";
$dbusername="horwichc";
$dbuserpassword="ZKBszmhZ";
$connection = mysql_connect($dbserverIP,$dbusername,$dbuserpassword) or die("Couldn't connect to the dbserver.");
$dbname="horwichc_website";
$dbselectok = mysql_select_db($dbname,$connection) or die("Couldn't select database.");
$sqlstatement="SELECT * FROM banners ORDER BY RAND() LIMIT 6";
$sql_result = mysql_query($sqlstatement,$connection) or die("Couldn't execute the SQL statement");
echo "
Whether you are a visitor to Horwich, have recently moved here, or have lived in the town all your life, you will be assured of a warm welcome at any of our member churches. We hope to see you soon!
To view information about each church, please click the image-links below: