Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include("conexao.php");
- $ignoreID = $_GET['ignoreID'];
- $sql = mysql_query("SELECT * FROM Registro, Desafios WHERE Registro.user_facebook_id != '$ignoreID' AND Desafios.desafio_from != '$ignoreID' ORDER BY RAND() LIMIT 1");
- $row = mysql_fetch_array($sql);
- $name = $row['user_facebook_name'];
- echo $name;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement