Your IP : 216.73.216.28


Current Path : /home/evliyala/silsileler.com/
Upload File :
Current File : /home/evliyala/silsileler.com/katkaydet.php

<?php 



require_once "db.php";

if(isset($_POST["ad"]) && isset($_POST["ustid"])):

$prepare = $db->prepare("INSERT INTO muhterem SET ad = :ad, ustid = :ustid");

$insert = $prepare->execute(

array (

	"ad" =>htmlspecialchars($_POST["ad"]),
	"ustid" => $_POST["ustid"]
)
);

if($insert):

	header("location:admin2.php");

else:

	echo "hata var";
endif;
else:

	echo "Sayfa bulunamadı";
endif;

 ?>