<?php
$conn = mysql_connect('localhost:3306', 'verlihub', 'password');
if (!$conn) {
die('Could not connect: ' . mysql_error());
}
mysql_select_db('verlihub');
$result = mysql_query('SELECT * FROM pi_stats`');
if (!$result) {
die('Query failed: ' . mysql_error());
}
while ($line = mysql_fetch_array($result, MYSQL_ASSOC)) {
foreach ($line as $col_value) {
echo $col_value . '<body bgcolor="#83c0ff" text="#000000";>
';
}
}
echo date("l dS of F Y h:i:s A");
?> marbles1704;2896 wrote:i just installed stats plugin, it`s loaded ok by verlihub but in vhcp i get this error:
Error
Table 'verlihub.pi_iplog' doesn't exist
Users browsing this forum: No registered users and 1 guest