Dicono di noi

[insert_php]

echo “


“;

# database settings:
$dbname = ‘Sql918524_4’;
$servername = ‘62.149.150.249’;
$username = ‘Sql918524’;
$password = ‘x9t5gzj950’;

// Create connection
$conn = new mysqli($servername, $username, $password, $dbname);
// Check connection
if ($conn->connect_error) {
die(“Connection failed: ” . $conn->connect_error);
}

$sql = “SELECT * FROM questionarioqualita”;
$result = $conn->query($sql);

echo “

Altre Recensioni

“;
echo “


“;

if ($result->num_rows > 0) {
// output data of each row
$i = 0;
while($row = $result->fetch_assoc()) {
if (strlen($row[“domanda19”]) > 0)
{
echo “

“;
echo $row[“domanda19”] . “(” . $row[“Timestamp”] . “)”;
echo “


“;
}
$i = $i + 1;
}
} else {
echo “0 results”;
}

$conn->close();
[/insert_php]