Project home"; die(); } else { //echo "Client data"; $conn = mysqli_connect("mysql.hostinger.hu", "u821146919_games", "SLp7q9m60J", "u821146919_games"); if($_POST['client']=="cheesecrescent") { //GameList $res=mysqli_query($conn, "SELECT * FROM games"); while($row=mysqli_fetch_array($res)) { if(strlen($row['playernames'])==0) $namecount=0; else $namecount=count(explode(',', $row['playernames'])); //echo ("Startdate: ".$row['startdate']." Time-1hr: ".(time()-60*60*1000)); if($namecount==0 || strval($row['startdate'])