[PHP] Little script showing record online

Results 1 to 4 of 4
  1. #1
    Proficient Member BeastFC is offline
    MemberRank
    Dec 2012 Join Date
    160Posts

    [PHP] Little script showing record online

    Hi,

    I'm looking for a little PHP script that shows what's the most online record on your hotel. (that can you find in the DB inside table system_stats but I want to show it on the website)

    Who can script this? Tnx


  2. #2
    Valued Member jasler is offline
    MemberRank
    Dec 2010 Join Date
    The netherlandsLocation
    145Posts

    Re: [PHP] Little script showing record online

    BeastFC, I think that you mean this:
    <?php
    $query_name = mysql_query("SELECT * FROM system_stats");
    $query_get = mysql_fetch_array($query_name);
    echo $query_get["column name"];
    ?>
    - Jasler

    (This is just an example)

  3. #3
    Proficient Member BeastFC is offline
    MemberRank
    Dec 2012 Join Date
    160Posts

    Re: [PHP] Little script showing record online

    Thanks! Really appreciated!

  4. #4
    Valued Member jasler is offline
    MemberRank
    Dec 2010 Join Date
    The netherlandsLocation
    145Posts

    Re: [PHP] Little script showing record online

    Your welcome ;)



Advertisement