test

[insert_php]

$servername = “hostingmysqlxx.YY.it”;
$username = “XXXXX_user”;
$password = “********”;
$dbname = “dbname”;// Create connection
$conn = new mysqli($servername, $username, $password, $dbname);
// Check connection
if ($conn->connect_error) {
die(“Connection failed: ” . $conn->connect_error);
}
$strSQL = “SELECT * FROM Stagioni WHERE Ultima = -1;”;
$result = $conn->query($strSQL);

$rowStag = $result->fetch_assoc();
$Stag = $rowStag[“Stagione”];

$Lega = “0203”;//***********************************************

// others

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

%d blogger hanno fatto clic su Mi Piace per questo: