include_once "includes/database.php"; include_once "includes/functions.php"; $go="puzzle.php"; check_Login($go); #check for select $sql = "select que,file,ans from puzzle where status='Y' order by RAND() limit 1"; $result = mysql_db_query(DATABASE,$sql); if(mysql_error()) member_error("