Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <link rel="stylesheet" type="text/css" href="background3.css" />
- <link rel="stylesheet" type="text/css" href="navmenu.css" />
- </head>
- <body>
- <?php
- include("user_cookie.php");
- echo <<<CODE1
- <fieldset style="background-image:url(background.jpg); color:white;">
- <legend>
- Arena
- </legend>
- CODE1;
- include("connect.php");
- $result = mysql_query("SELECT * FROM Heroes WHERE UserID='$fb_id'");
- while($row = mysql_fetch_array($result))
- {
- $location=$row['Location'];
- }
- mysql_close($con);
- include("connect.php");
- $result = mysql_query("SELECT * FROM Heroes WHERE Location='$location' ORDER BY RAND() LIMIT 10");
- ?>
- </body>
- </html>
Add Comment
Please, Sign In to add comment