RevCMS Online Record Script?

Joined
Dec 16, 2013
Messages
441
Reaction score
28
Hello,

Is it possible to make a script that take the highest number from my database server_peaks ( count )

I don't know so much about MySQL ...
 
Hey,

Try this:
<div class="habblet-container ">
<div class="cbb clearfix green ">
<h2 class="title">Online rekord</h2>
<div id="hotcampaigns-habblet-list-container">
<ul id="hotcampaigns-habblet-list">
<center><b><h2><?php
$req
= "SELECT * FROM `system_stats`";
$query = mysql_query($req);
$nb_inscrit = mysql_fetch_array($query);
echo
$nb_inscrit['users'];
?> </center></b></h2>
</ul>
</div>
</div>
</div>
 
Upvote 0
Code:
 Record online is: <?php $query_name = mysql_query("SELECT * FROM system_stats");
$query_get = mysql_fetch_array($query_name);
echo $query_get["users"];
?>

If you use phoenix.
 
Last edited:
Upvote 0
Back