Jerry
not rly active lol
I recieved this error;
Here's the code;
Any clues?
Code:
Warning: mysql_result(): supplied argument is not a valid MySQL result resource in *************.php on line 12
Code:
<?php
// Create connection
$con=mysql_connect("HOST","USERNAME","PASSWORD","DBNAME");
// Check connection
if (!$con)
{
echo "Failed to connect to MySQL: " . mysql_connect_error();
}
?>
<center><li class="active"><center>User(s) Online : <span class="badge"><?php echo mysql_result(mysql_query("SELECT online_now FROM stats;"),0); ?></span> | Total Cloudflare Resolved : <span class="badge"><?php echo mysql_result(mysql_query("SELECT cloudflare_resolved FROM stats;"),0); ?></span> | Total Skype Resolved : <span class="badge"><?php echo mysql_result(mysql_query("SELECT skype_resolved FROM stats;"),0); ?></span> | Online Today : <span class="badge"><?php echo mysql_result(mysql_query("SELECT online_today FROM stats;"),0); ?></span> </center>
Any clues?