Omg i found out what the problem was.

In the php script there was:

$change = "UPDATE gamelist Set servername = '$servername', password = '$pw',
gametyp = '$gametyp', map = '$map', serverip = '$serverip',
lastupdate= '$timestamp', players='$players', ping='$ping',
id = '$id' WHERE row = '$entry_row'";
mysql_query($change);

and i changed to

mysql_query("INSERT INTO gamelist (row, servername, password, id) VALUES ('$entry_row', '$servername', '$pw', '$id')");

the update function didnt work it had to be inputed