<?php
error_reporting(0);
session_start();
$servername = "localhost";
$username = "root";
$password = "#";
$dbname = "kullanicilar";
//bağlantı yapım kodu
$connect = new mysqli ($servername,$username,$password,$dbname);
$kullaniciadi = $_POST["kullaniciadi"];
$eposta = $_POST["eposta"];
$sifre = $_POST["sifre"];
$guncelle= "Update kayit set sifre='$sifre' where kullaniciadi='$kullaniciadi'";
if ($connect->query($guncelle) === TRUE)
{
}
else
{
echo "Güncelleme hatası: " . $baglan->error;
}
?>