What this errors mean?

Discussion in 'MySQL' started by webgames247, Oct 1, 2011.

  1. #1
    not sure why i get this errrors
    $totalplayed = $gettotalplayed['total_played']; return number_format($totalplayed); } // Count # of members function totalmembers() { $totalmembers_result = mysql_query("SELECT count(userid) AS total_members FROM users WHERE status = '1'"); $gettotalmembers = mysql_fetch_array($totalmembers_result); $totalmembers = $gettotalmembers['total_members']; return number_format($totalmembers); } ?> 
    Code (markup):

     
    webgames247, Oct 1, 2011 IP
  2. Foxtr0t

    Foxtr0t Peon

    Messages:
    39
    Likes Received:
    1
    Best Answers:
    1
    Trophy Points:
    0
    #2
    It is a PHP code listing, not an error message. Maybe the code doesn't get executed but only displayed, check the file extension / server configuration.
     
    Foxtr0t, Oct 9, 2011 IP
  3. freshdevelopment

    freshdevelopment Notable Member

    Messages:
    1,303
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    240
    #3
    Also check you haven't closed your php using ?> before that statement
     
    freshdevelopment, Oct 18, 2011 IP
  4. vuna

    vuna Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    It's not an error.. it seems coming from a casino site
     
    vuna, Oct 20, 2011 IP