Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- @include("conexao.php");
- $user = $_REQUEST['name'];
- $pass = $_REQUEST['pass'];
- $max = 3;
- $code = "SELECT * FROM HighScore ORDER BY score DESC LIMIT 0, $max";
- $exc_code = mysql_query($code);
- $ln = mysql_num_rows($exc_code);
- for ($i=0; $i < $ln; $i++) {
- $row = mysql_fetch_array($exc_code);
- echo $row['name'] . "|" . $row['pass']. "|";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement