[insert_php]
$OGGI =date(“Ymd”);
$today = date(“D M Y “);
$anno=date(“Y”);
$sqlhostname = “sql.storiebicilindriche.it”;
$login = “storiebi22623”;
$password = “stor18025”;
$base = “storiebi22623”;
$year=date(“Y”);
$today = date(“Y-m-d”);
$conn = @mysql_connect($sqlhostname,$login,$password);
$base_selection = @mysql_select_db($base,$conn);
for ($i=1;$i < 5;$i++) { $anno=2017; $sql = "select * from scud_".$i."_".$anno." order by tot desc"; $req = mysql_query($sql); $res = mysql_num_rows($req); if (mysql_errno()) die("Errore n: ".mysql_errno()." Descr.: ".mysql_error()." "); if ($res == 0) die("Dati non disponibili"); //echo "
”
echo ”
Battle of the Twins “.ereg_replace(“4″,”OLTRE”,$i).”
“;
echo”
team | Varano | Vallelunga | Adria | Imola | Misano | Totale | |
---|---|---|---|---|---|---|---|
“. $row[‘nome’].” | “.$row[‘g1’].” | “.$row[‘g2’].” | “.$row[‘g3’].” | “.$row[‘g4’].” | “.$row[‘g5’].” | “.$row[‘tot’].” |
“;
}
[/insert_php]