Guest User

Untitled

a guest
May 23rd, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. <html>
  2.  
  3. <head>
  4.  
  5. <link rel="stylesheet" type="text/css" href="background3.css" />
  6. <link rel="stylesheet" type="text/css" href="navmenu.css" />
  7.  
  8. </head>
  9.  
  10. <body>
  11.  
  12. <?php
  13.  
  14. include("user_cookie.php");
  15.  
  16. echo <<<CODE1
  17. <fieldset style="background-image:url(background.jpg); color:white;">
  18. <legend>
  19. Arena
  20. </legend>
  21. CODE1;
  22.  
  23. include("connect.php");
  24.  
  25. $result = mysql_query("SELECT * FROM Heroes WHERE UserID='$fb_id'");
  26.  
  27. while($row = mysql_fetch_array($result))
  28. {
  29. $location=$row['Location'];
  30. }
  31.  
  32. mysql_close($con);
  33.  
  34. include("connect.php");
  35.  
  36. $result = mysql_query("SELECT * FROM Heroes WHERE Location='$location' ORDER BY RAND() LIMIT 10");
  37.  
  38. ?>
  39.  
  40. </body>
  41. </html>
Add Comment
Please, Sign In to add comment