şu bölümü böyle deneyebilirmisin, switch } ?&gt;

Grafix' Alıntı:

bakabildiğim kadar bakabildim, şuan test etme imkanım yok. ama dosyayı tekrar dener misin? PHP:

aynı hata değişen yok

şuan detaylı bakamadım da bir tane köşeli parantezi kapatmayı unutmuşsun ondan veriyor bu hatayı. notepad 2'yi indir hangi köşeli parantezi kapatmayı unuttuğunu daha kolay bulursun ayrıca bu kodlar göz bozar, yazarken code tagı içine alalım lütfen.

rar da üyenin gönderdiği mesajlar giden kutusu mesaj gönder gibi script var her zamanki gibi hata veriyor düzeltemedim yardımlazım

211. satır PHP:

merhaba arkadaşlar php uye kayıtı yaparken Parse error: syntax error, unexpected $end in C:\wamp\www\PHP_Uyelik_Sistemi_V2.2\PHP_Uyelik_Sistemi_V2.2\yeni_uyelik. php on line 270 hatasını verdi çözüm bulamadım biraz yeniyim kodaşağıda yardımlarınızı bekliyorum kod aşağıda &lt;?php function yeniuyelik # include ; function uyekayit { //uyekayit function başla $adsoyad = $_POST ; $kullaniciadi = $_POST ; $parola = $_POST ; $sifre = $_POST ; $email = $_POST ; $sehir = $_POST ; $onay = 1; $tarih = date ; if elseif elseif (! eregi (&quot;^( |\-|\.)+@(( |\-)+\.)+ $&quot;, $email)) elseif || { //kontrol elseif başla $bak = &quot;select from uyeler where kulladi='$kullaniciadi' || email='$email'&quot;; $kontrol = mysql_query ; $kayitsayisi = mysql_num_rows ; if ($kayitsayisi &gt; 0) else{ //else başla $parolamd = md5 ; $posted = &quot;resim1&quot;; if ($_FILES ) $uyekayit = mysql_query(&quot;INSERT INTO uyeler values ('$kullaniciadi','$parolamd','$sifre','$email','$sehir','$adsoyad','$tarih','$hedef1','$onay')&quot;); if else }//else bitir }//kontrol elseif bitir } //uyekayit function kapat # switch ?&gt;

teşekkürler düzgün şekilde çalışıyor ellerine sağlık &lt;form method=&quot;POST&quot; enctype=&quot;multipart/form-data&quot; action=&quot;yeni_uyelik. php?git=uyekayit&quot;&gt; &lt;div align=&quot;center&quot;&gt; &lt;table border=&quot;1&quot; id=&quot;table1&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; bordercolordark=&quot;#C4EC02&quot; style=&quot;border-collapse: collapse&quot;&gt; &lt;tr&gt; &lt;td&gt;&lt;div align=&quot;center&quot;&gt; &lt;table border=&quot;0&quot; width=&quot;250&quot; id=&quot;table2&quot; cellpadding=&quot;0&quot; style=&quot;border-collapse: collapse&quot;&gt; &lt;tr&gt; &lt;td height=&quot;20&quot; background=&quot;imgeler/yesil_cubuk. gif&quot; colspan=&quot;4&quot;&gt;&lt;b&gt; &lt;font size=&quot;1&quot; face=&quot;Tahoma&quot;&gt; Yeni Üye Kaydı&lt;/font&gt;&lt;/b&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td height=&quot;20&quot; colspan=&quot;4&quot;&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td height=&quot;20&quot; width=&quot;4&quot;&gt; &lt;/td&gt; &lt;td height=&quot;20&quot; width=&quot;105&quot; align=&quot;right&quot;&gt; &lt;font size=&quot;1&quot; face=&quot;Tahoma&quot;&gt;Adınız ve Soyadınız&lt;/font&gt;&lt;/td&gt; &lt;td height=&quot;20&quot; width=&quot;6&quot;&gt; &lt;/td&gt; &lt;td height=&quot;20&quot; width=&quot;135&quot;&gt; &lt;input type=&quot;text&quot; name=&quot;adsoyad&quot; style=&quot;font-size: 8pt; font-family: Tahoma; color: #000000; border: 1px dotted #CCCCCC; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px; background-color: #C4EC02&quot; size=&quot;20&quot;&gt;&lt;font size=&quot;1&quot; face=&quot;Tahoma&quot;&gt; &lt;font color=&quot;#808080&quot;&gt; &lt;/font&gt;&lt;/font&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td height=&quot;20&quot; width=&quot;4&quot;&gt; &lt;/td&gt; &lt;td height=&quot;20&quot; width=&quot;105&quot; align=&quot;right&quot;&gt; &lt;font size=&quot;1&quot; face=&quot;Tahoma&quot;&gt;Kullanıcı Adınız&lt;/font&gt;&lt;/td&gt; &lt;td height=&quot;20&quot; width=&quot;6&quot;&gt; &lt;/td&gt; &lt;td height=&quot;20&quot; width=&quot;135&quot;&gt;&lt;input type=&quot;text&quot; name=&quot;kullaniciadi&quot; style=&quot;font-size: 8pt; font-family: Tahoma; color: #000000; border: 1px dotted #CCCCCC; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px; background-color: #C4EC02&quot; size=&quot;20&quot;&gt;&lt;font size=&quot;1&quot; face=&quot;Tahoma&quot;&gt; &lt;font color=&quot;#808080&quot;&gt; &lt;/font&gt;&lt;/font&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td height=&quot;20&quot; width=&quot;4&quot;&gt; &lt;/td&gt; &lt;td height=&quot;20&quot; width=&quot;105&quot; align=&quot;right&quot;&gt; &lt;font size=&quot;1&quot; face=&quot;Tahoma&quot;&gt;Parolanız&lt;/font&gt;&lt;/td&gt; &lt;td height=&quot;20&quot; width=&quot;6&quot;&gt; &lt;/td&gt; &lt;td height=&quot;20&quot; width=&quot;135&quot;&gt; &lt;input type=&quot;text&quot; name=&quot;parola&quot; style=&quot;font-size: 8pt; font-family: Tahoma; color: #000000; border: 1px dotted #CCCCCC; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px; background-color: #C4EC02&quot; size=&quot;20&quot;&gt;&lt;font size=&quot;1&quot; face=&quot;Tahoma&quot;&gt; &lt;font color=&quot;#808080&quot;&gt; &lt;/font&gt;&lt;/font&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td height=&quot;20&quot; width=&quot;4&quot;&gt; &lt;/td&gt; &lt;td height=&quot;20&quot; width=&quot;105&quot; align=&quot;right&quot;&gt; &lt;font size=&quot;1&quot; face=&quot;Tahoma&quot;&gt;Parola Tekrarlayınız&lt;/font&gt;&lt;/td&gt; &lt;td height=&quot;20&quot; width=&quot;6&quot;&gt; &lt;/td&gt; &lt;td height=&quot;20&quot; width=&quot;135&quot;&gt; &lt;input type=&quot;text&quot; name=&quot;sifre&quot; style=&quot;font-size: 8pt; font-family: Tahoma; color: #000000; border: 1px dotted #CCCCCC; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px; background-color: #C4EC02&quot; size=&quot;20&quot;&gt;&lt;font size=&quot;1&quot; face=&quot;Tahoma&quot;&gt; &lt;font color=&quot;#808080&quot;&gt; &lt;/font&gt;&lt;/font&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td height=&quot;20&quot; width=&quot;4&quot;&gt; &lt;/td&gt; &lt;td height=&quot;20&quot; width=&quot;105&quot; align=&quot;right&quot;&gt; &lt;font size=&quot;1&quot; face=&quot;Tahoma&quot;&gt;E-Mail Adresiniz&lt;/font&gt;&lt;/td&gt; &lt;td height=&quot;20&quot; width=&quot;6&quot;&gt; &lt;/td&gt; &lt;td height=&quot;20&quot; width=&quot;135&quot;&gt; &lt;input type=&quot;text&quot; name=&quot;email&quot; style=&quot;font-size: 8pt; font-family: Tahoma; color: #000000; border: 1px dotted #CCCCCC; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px; background-color: #C4EC02&quot; size=&quot;20&quot;&gt;&lt;font size=&quot;1&quot; face=&quot;Tahoma&quot;&gt; &lt;font color=&quot;#808080&quot;&gt; &lt;/font&gt;&lt;/font&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td height=&quot;20&quot; width=&quot;4&quot;&gt; &lt;/td&gt; &lt;td height=&quot;20&quot; width=&quot;105&quot; align=&quot;right&quot;&gt; &lt;font size=&quot;1&quot; face=&quot;Tahoma&quot;&gt;Şehir Seçiniz&lt;/font&gt;&lt;/td&gt; &lt;td height=&quot;20&quot; width=&quot;6&quot;&gt; &lt;/td&gt; &lt;td height=&quot;20&quot; width=&quot;135&quot;&gt; &lt;select name=&quot;sehir&quot; size=&quot;1&quot; style=&quot;border:1px dotted #C0C0C0; font-family: Tahoma; background-color:#C4EC00; font-size:8pt; padding-left:4px; padding-right:4px; padding-top:1px; padding-bottom:1px; color:#000000&quot;&gt; &lt;OPTION value=&quot;Belirtmemiş&quot; selected&gt;Şehir Seç&lt;/OPTION&gt; &lt;OPTION value=&quot;Adana&quot;&gt;Adana&lt;/OPTION&gt; &lt;OPTION value=&quot;Adıyaman&quot;&gt;Adıyaman&lt;/OPTION&gt; &lt;OPTION value=&quot;Afyon&quot;&gt;Afyon&lt;/OPTION&gt; &lt;OPTION value=&quot;Ağrı&quot;&gt;Ağrı&lt;/OPTION&gt; &lt;OPTION value=&quot;Aksaray&quot;&gt;Aksaray&lt;/OPTION&gt; &lt;OPTION value=&quot;Amasya&quot;&gt;Amasya&lt;/OPTION&gt; &lt;OPTION value=&quot;Ankara&quot;&gt;Ankara&lt;/OPTION&gt; &lt;OPTION value=&quot;Antalya&quot;&gt;Antalya&lt;/OPTION&gt; &lt;OPTION value=&quot;Ardahan&quot;&gt;Ardahan&lt;/OPTION&gt; &lt;OPTION value=&quot;Artvin&quot;&gt;Artvin&lt;/OPTION&gt; &lt;OPTION value=&quot;Aydın&quot;&gt;Aydın&lt;/OPTION&gt; &lt;OPTION value=&quot;Balıkesir&quot;&gt;Balıkesir&lt;/OPTION&gt; &lt;OPTION value=&quot;Bartın&quot;&gt;Bartın&lt;/OPTION&gt; &lt;OPTION value=&quot;Batman&quot;&gt;Batman&lt;/OPTION&gt; &lt;OPTION value=&quot;Bayrut&quot;&gt;Bayrut&lt;/OPTION&gt; &lt;OPTION value=&quot;Bilecik&quot;&gt;Bilecik&lt;/OPTION&gt; &lt;OPTION value=&quot;Bingöl&quot;&gt;Bingöl&lt;/OPTION&gt; &lt;OPTION value=&quot;Bitlis&quot;&gt;Bitlis&lt;/OPTION&gt; &lt;OPTION value=&quot;Bolu&quot;&gt;Bolu&lt;/OPTION&gt; &lt;OPTION value=&quot;Burdur&quot;&gt;Burdur&lt;/OPTION&gt; &lt;OPTION value=&quot;Bursa&quot;&gt;Bursa&lt;/OPTION&gt; &lt;OPTION value=&quot;Çanakkale&quot;&gt;Çanakkale&lt;/OPTION&gt; &lt;OPTION value=&quot;Çankırı&quot;&gt;Çankırı&lt;/OPTION&gt; &lt;OPTION value=&quot;Çorum&quot;&gt;Çorum&lt;/OPTION&gt; &lt;OPTION value=&quot;Denizli&quot;&gt;Denizli&lt;/OPTION&gt; &lt;OPTION value=&quot;DiyarBekir&quot;&gt;DiyarBekir&lt;/OPTION&gt; &lt;OPTION value=&quot;Düzce&quot;&gt;Düzce&lt;/OPTION&gt; &lt;OPTION value=&quot;Edirne&quot;&gt;Edirne&lt;/OPTION&gt; &lt;OPTION value=&quot;Elazığ&quot;&gt;Elazığ&lt;/OPTION&gt; &lt;OPTION value=&quot;Erzincan&quot;&gt;Erzincan&lt;/OPTION&gt; &lt;OPTION value=&quot;Erzurum&quot;&gt;Erzurum&lt;/OPTION&gt; &lt;OPTION value=&quot;Eskişehir&quot;&gt;Eskişehir&lt;/OPTION&gt; &lt;OPTION value=&quot;Gaziantep&quot;&gt;Gaziantep&lt;/OPTION&gt; &lt;OPTION value=&quot;Giresun&quot;&gt;Giresun&lt;/OPTION&gt; &lt;OPTION value=&quot;Gümüşhane&quot;&gt;Gümüşhane&lt;/OPTION&gt; &lt;OPTION value=&quot;Hakkari&quot;&gt;Hakkari&lt;/OPTION&gt; &lt;OPTION value=&quot;Hatay&quot; &gt;Hatay&lt;/OPTION&gt; &lt;OPTION value=&quot;Iğdır&quot;&gt;Iğdır&lt;/OPTION&gt; &lt;OPTION value=&quot;Isparta&quot;&gt;Isparta&lt;/OPTION&gt; &lt;OPTION value=&quot;İçel&quot;&gt;İçel&lt;/OPTION&gt; &lt;OPTION value=&quot;İstanbul&quot;&gt;İstanbul&lt;/OPTION&gt; &lt;OPTION value=&quot;İzmir&quot;&gt;İzmir&lt;/OPTION&gt; &lt;OPTION value=&quot;Kahramanmaraş&quot;&gt;Kahramanmaraş&lt;/OPTION&gt; &lt;OPTION value=&quot;Karabük&quot;&gt;Karabük&lt;/OPTION&gt; &lt;OPTION value=&quot;Karaman&quot;&gt;Karaman&lt;/OPTION&gt; &lt;OPTION value=&quot;Kars&quot;&gt;Kars&lt;/OPTION&gt; &lt;OPTION value=&quot;Kastamonu&quot;&gt;Kastamonu&lt;/OPTION&gt; &lt;OPTION value=&quot;Kayseri&quot;&gt;Kayseri&lt;/OPTION&gt; &lt;OPTION value=&quot;Kıbrıs&quot;&gt;Kıbrıs&lt;/OPTION&gt; &lt;OPTION value=&quot;Kırıkkale&quot;&gt;Kırıkkale&lt;/OPTION&gt; &lt;OPTION value=&quot;Kırklareli&quot;&gt;Kırklareli&lt;/OPTION&gt; &lt;OPTION value=&quot;Kırşehir&quot;&gt;Kırşehir&lt;/OPTION&gt; &lt;OPTION value=&quot;Kilis&quot;&gt;Kilis&lt;/OPTION&gt; &lt;OPTION value=&quot;Kocaeli&quot;&gt;Kocaeli&lt;/OPTION&gt; &lt;OPTION value=&quot;Konya&quot;&gt;Konya&lt;/OPTION&gt; &lt;OPTION value=&quot;Kütahya&quot;&gt;Kütahya&lt;/OPTION&gt; &lt;OPTION value=&quot;Malatya&quot;&gt;Malatya&lt;/OPTION&gt; &lt;OPTION value=&quot;Manisa&quot;&gt;Manisa&lt;/OPTION&gt; &lt;OPTION value=&quot;Mardin&quot;&gt;Mardin&lt;/OPTION&gt; &lt;OPTION value=&quot;Muğla&quot;&gt;Muğla&lt;/OPTION&gt; &lt;OPTION value=&quot;Muş&quot;&gt;Muş&lt;/OPTION&gt; &lt;OPTION value=&quot;Nevşehir&quot;&gt;Nevşehir&lt;/OPTION&gt; &lt;OPTION value=&quot;Niğde&quot;&gt;Niğde&lt;/OPTION&gt; &lt;OPTION value=&quot;Ordu&quot;&gt;Ordu&lt;/OPTION&gt; &lt;OPTION value=&quot;Osmaniye&quot;&gt;Osmaniye&lt;/OPTION&gt; &lt;OPTION value=&quot;Rize&quot;&gt;Rize&lt;/OPTION&gt; &lt;OPTION value=&quot;Sakarya&quot;&gt;Sakarya&lt;/OPTION&gt; &lt;OPTION value=&quot;Samsun&quot;&gt;Samsun&lt;/OPTION&gt; &lt;OPTION value=&quot;Siirt&quot;&gt;Siirt&lt;/OPTION&gt; &lt;OPTION value=&quot;Sinop&quot;&gt;Sinop&lt;/OPTION&gt; &lt;OPTION value=&quot;Sivas&quot;&gt;Sivas&lt;/OPTION&gt; &lt;OPTION value=&quot;ŞanlıUrfa&quot;&gt;ŞanlıUrfa&lt;/OPTION&gt; &lt;OPTION value=&quot;Şırnak&quot;&gt;Şırnak&lt;/OPTION&gt; &lt;OPTION value=&quot;Tekirdağ&quot;&gt;Tekirdağ&lt;/OPTION&gt; &lt;OPTION value=&quot;Tokat&quot;&gt;Tokat&lt;/OPTION&gt; &lt;OPTION value=&quot;Trabzon&quot;&gt;Trabzon&lt;/OPTION&gt; &lt;OPTION value=&quot;Tunceli&quot;&gt;Tunceli&lt;/OPTION&gt; &lt;OPTION value=&quot;Uşak&quot;&gt;Uşak&lt;/OPTION&gt; &lt;OPTION value=&quot;Van&quot;&gt;Van&lt;/OPTION&gt; &lt;OPTION value=&quot;Yalova&quot;&gt;Yalova&lt;/OPTION&gt; &lt;OPTION value=&quot;Yozgat&quot;&gt;Yozgat&lt;/OPTION&gt; &lt;OPTION value=&quot;Zonguldak&quot;&gt;Zonguldak&lt;/OPTION&gt; &lt;OPTION value=&quot;Diğer&quot;&gt;Diğer&lt;/OPTION&gt; &lt;OPTION value=&quot;Ülke Dışı&quot;&gt;Türkiye Dışı&lt;/OPTION&gt; &lt;OPTION&gt; &lt;/OPTION&gt; &lt;/select&gt;&lt;font size=&quot;1&quot; face=&quot;Tahoma&quot;&gt; &lt;font color=&quot;#808080&quot;&gt; &lt;/font&gt;&lt;/font&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td height=&quot;20&quot; width=&quot;4&quot;&gt; &lt;/td&gt; &lt;td height=&quot;20&quot; width=&quot;105&quot; align=&quot;right&quot;&gt; &lt;font size=&quot;1&quot; face=&quot;Tahoma&quot;&gt;Avatar Yüleyiniz&lt;/font&gt;&lt;/td&gt; &lt;td height=&quot;20&quot; width=&quot;6&quot;&gt; &lt;/td&gt; &lt;td height=&quot;20&quot; width=&quot;135&quot;&gt; &lt;input type=&quot;file&quot; name=&quot;resim1&quot; size=&quot;7&quot; style=&quot;font-size: 8pt; color: #000000; font-family: Tahoma; border: 1px dotted #CCCCCC; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px; background-color: #C4EC02&quot;&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td height=&quot;20&quot; width=&quot;4&quot;&gt; &lt;/td&gt; &lt;td height=&quot;20&quot; width=&quot;105&quot;&gt; &lt;/td&gt; &lt;td height=&quot;20&quot; width=&quot;6&quot;&gt; &lt;/td&gt; &lt;td height=&quot;20&quot; width=&quot;135&quot;&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td height=&quot;20&quot; width=&quot;4&quot;&gt; &lt;/td&gt; &lt;td height=&quot;20&quot; width=&quot;105&quot;&gt; &lt;/td&gt; &lt;td height=&quot;20&quot; width=&quot;6&quot;&gt; &lt;/td&gt; &lt;td height=&quot;20&quot; width=&quot;135&quot;&gt; &lt;input type=&quot;submit&quot; value=&quot;Tamam&quot; name=&quot;verigonder&quot; style=&quot;font-size: 8pt; font-family: Tahoma; color: #000000; border: 1px dotted #C0C0C0; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px; background-color: #C6EE01&quot;&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td height=&quot;20&quot; colspan=&quot;4&quot;&gt; &lt;p align=&quot;right&quot;&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td height=&quot;20&quot; colspan=&quot;4&quot;&gt; &lt;p align=&quot;center&quot;&gt;&lt;font size=&quot;1&quot; face=&quot;Tahoma&quot;&gt;&lt;a href=&quot;index. php&quot;&gt; &lt;span style=&quot;text-decoration: none&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;Ana Sayfa&lt;/font&gt;&lt;/span&gt;&lt;/a&gt;&lt;/font&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;/div&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;/div&gt; &lt;/form&gt; &lt;?php include ; function uyekayit { //uyekayit function başla $adsoyad = $_POST ; $kullaniciadi = $_POST ; $parola = $_POST ; $sifre = $_POST ; $email = $_POST ; $sehir = $_POST ; $onay = 1; $tarih = date ; if &amp;&amp; &amp;&amp; &amp;&amp; &amp;&amp; &amp;&amp; elseif elseif (! eregi (&quot;^( |\-|\.)+@(( |\-)+\.)+ $&quot;, $email)) elseif || { //kontrol elseif başla $bak = &quot;select from uyeler where kulladi='$kullaniciadi' || email='$email'&quot;; $kontrol = mysql_query ; $kayitsayisi = mysql_num_rows ; if ($kayitsayisi &gt; 0) else{ //else başla $parolamd = md5 ; $posted = &quot;resim1&quot;; if ($_FILES ) $uyekayit = mysql_query(&quot;INSERT INTO uyeler values ('$kullaniciadi','$parolamd','$sifre','$email','$sehir','$adsoyad','$tarih','$hedef1','$onay')&quot;); if else }//else bitir }//kontrol elseif bitir } //uyekayit function kapat # switch ?&gt; düzeldi şükür biraz karmaşık bir şelersildim düzeldi.