else {exit();}Yukarıdaki satır hata veriyor.
Parse error: syntax error, unexpected T_ELSE
<?php
include ("vt.php");
$kullanici=$_POST["kullaniciadi"];
$sifre=$_POST["kullanicisifre"];
$email=$_POST["kullaniciemail"];
if(($kullanici=="") or ($sifre=="")){
echo "<br>Lutfen Bos Alanlari Doldurunuz";
exit();
}else{
$sor=mysql_query("select * from uyetablosu where uyeadi='$kullanici' or
email='$email' ");
$sayac=mysql_num_rows($sor);
if ($sayac!=0){
echo "<font size='3'>Bu kullanıcı adı ile daha önceden kayıt
yapılmıştır. </font>";
}else{
$ekle =mysql_query("insert into uyetablosu (uyeadi,uyesifre,email) value
('$kullanici','$sifre','$email')");
if($ekle){
echo "<br><a href=index.php>Başarıyla Kayıt Oldunuz
Anasayfaya Dönmek İçin </a>";
}else{
echo "Veritabani Yazilamadi";
exit();
}
}
}
else {exit();}
?>