无法连接到数据库(ITS AUTO COMMENTING)

I had an VPS with Portal using MySQL and PHP. So today I tried to install it on my local PC with WAMP. I couldn't connect to my database so I made test.php and here is the problem:

The Code: http://www.igreklik.com/slike/images/41599508267923822489.png

<!DOCTYPE html>
<html>
  <?php
    include 'js/konekcija.php';
  ?>
  <body>
    <?php
      $counter = 1;
      $proveripari = mysql_query("SELECT pIme, pPari FROM igraci ORDER BY pPari DESC LIMIT 10 ;"); 
      if( mysql_num_rows($proveripari) > 0)
      {
        while ($row = mysql_fetch_array($proveripari))  
        {
          $counter2 = $counter++;
          echo($row['pPari']);
        }
      }
    ?>
  </body>
</html>

The page when I try to open: http://www.igreklik.com/slike/images/99283424889650387796.png (It shows half of the code, the other half is commented)

You see there is an comment which isn't written in the code, so basically that's why it doesn't shows any errors when I try to connect to the database and that's why I can't show what my database contains...

You must use the server address and not the absolute file path. Use http://localhost/APP/blah.php rather than file:///C:/wamp/www/APP/blah.php. The absolute path cannot execute the php code. The server path will execute the php code. Paste your php codes and project files in the www folder of the WAMP installation directory and then open it using the localhost address as it looks from your snapshot that you have not put your files in the www folder at all.