Programėlės Spot-In statistika
echo "
"; //validation issues
// login informacija
include("./spot-in/core/web_db_conf.php");
try{ $DBH = new PDO("mysql:host=$dbServer;dbname=$dbName", $dbUser, $dbPass); }
catch(PDOException $e){ echo $e->getMessage(); }
$DBH->query("SET NAMES 'utf8'");
$DBH->query("SET lc_time_names = 'lt_LT'");
$sql = "CALL get_Statistics('___Web_Online___')";
$STH = $DBH->prepare($sql);
$STH->execute();
echo "";
while($row = $STH->fetch(PDO::FETCH_ASSOC) ){
foreach($row as $k =>$v)
{
echo "- $k
- $v
- \n";
}
}
echo "
";