mysql_query($guncelle); if (mysql_query($guncelle)) burayı $sql = mysql_query($guncelle); if ($sql) gibi değiştir