My website page just keeps repeating itself... PHP help!

Discussion in 'PHP' started by rapidadds, Jul 8, 2008.

  1. #1
    I have been working on a friends site: http://electricadds.com, and I'm just about done. If you go to that site, and in the login box type in: 2, just the number 2 only, then click login. After you login, start to scroll down the page, as you see, it is repeating itself, and its a problem in this code:

    <b>Points Reset:</b> 11:00pm | <!-- Start FreeOnlineUsers.com -->
    <b>Users Online:</b> <font color=#ffffff><script type="text/javascript" src="http://freeonlineusers.com/on2.php?id=97525"> </script></font></a>
    <!-- End FreeOnlineUsers.com --> | <b>Total Users:</b> <?PHP 
    $sql_users = "SELECT * FROM xtrm_users";
    $res = mysql_query($sql_users);
    $amount = mysql_num_rows($res);
    echo "$amount";
    ?> | <b>Verified Users:</b> <?PHP 
    $sql_verify = "SELECT * FROM xtrm_users WHERE verify = 1";
    $res3 = mysql_query($sql_verify);
    $verify = mysql_num_rows($res3);
    echo "$verify";
    ?> | <b>Adds Sent Today:</b></td> <?PHP $sql_adds = "SELECT * FROM xtrm_adds";
    $res_adds = mysql_query($sql_adds);
    $amount_adds = mysql_num_rows($res_adds);
    echo "$amount_adds"; 
    ?>
    PHP:
    Did i not close it correctly? Any help would be great. Thanks!
     
    rapidadds, Jul 8, 2008 IP
  2. Altari

    Altari Peon

    Messages:
    188
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I'm not seeing the problem (I mean the repeating).
     
    Altari, Jul 8, 2008 IP
  3. JLEville

    JLEville Peon

    Messages:
    147
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yea what's the problem on the website?
     
    JLEville, Jul 8, 2008 IP
  4. rapidadds

    rapidadds Guest

    Messages:
    240
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    fixed!.........
     
    rapidadds, Jul 9, 2008 IP