Advertisement
yousif199

facebook

Oct 19th, 2016
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.32 KB | None | 0 0
  1.  
  2. <?php
  3.  
  4. include("conexao.php");
  5.  
  6. $ignoreID = $_GET['ignoreID'];
  7.  
  8. $sql = mysql_query("SELECT * FROM Registro, Desafios WHERE Registro.user_facebook_id != '$ignoreID' AND Desafios.desafio_from != '$ignoreID' ORDER BY RAND() LIMIT 1");
  9. $row = mysql_fetch_array($sql);
  10. $name = $row['user_facebook_name'];
  11.  
  12. echo $name;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement