Beyler kodları yazdım ama sadece ad kısmı geliyor bi yerde yanlışlık mı yaptım acaba ?
Bu arada msn adresim hotmail.com.tr bir sorun olur mu
PHP KODU
Html Kodu
Bu arada msn adresim hotmail.com.tr bir sorun olur mu
PHP KODU
Kod:
<?php
ob_start();
$ad=$_GET['ad'];
$soyadi=$_GET['soyadi'];
$not=$_GET['not'];
$konu='iletisim formu gonderisi';
$gonderildi=mail("msn adresi", "$konu", "Adi: $ad", "Soyadi: $soyadi", "Not: $not");
if($gonderildi) {
echo '<h3><center>Tesekkürler, mesajiniz gönderilmistir.</center></h3>';
}
else {
echo '<h3><center>Mesaj Gönderilemedi! Tekrar Deneyiniz.</center></h3>';
}
ob_end_flush();
?>
Kod:
<html>
<head>
<title>iletisim formu</title>
</head>
<body>
<form method="GET" action="iletisim.php">
<b>Adınız :</b><input type="text" name="ad"><br>
<b>Soyadınız:</b><input type="text" name="soyadi"><br>
<b>Notunuz</b><br>
<textarea name="not
" rows="10" cols="60"></textarea><br>
<input type="submit" name="Submit" value="Gonder">
<input type="reset" name="Reset" value="Temizle">
</form>
</body>
</html>
Son düzenleme: