Home › Forums › Support › SQL Script output results into table › Reply To: SQL Script output results into table
March 14, 2015 at 3:54 am
#86666
Craig Nicholson
also to note i have placed this code in the GP Hooks section under wp_head
<?php
$host_name = “db567706584.db.1and1.com”;
$database = “db567706584”;
$user_name = “dbo567706584”;
$password = “<the password>”;
$connect = mysqli_connect($host_name, $user_name, $password, $database);
if (mysqli_connect_errno())
{
echo “Failed to connect to MySQL: ” . mysqli_connect_error();
}
?>