Arkadaşlar daha öncede konu açtım ama kimse ilglincemdi şimdi bütün kodlarımı baştan yazdım herşeyiyle formuyla sorgusuyla yok abi olmuyor kullanıcı adına tolgay şifreyede hep ttoklar diye kaydoluyor veritabanına bakın kodları ve db fotoğraını veriyorum lütfen yardımcı olun
bu Kayıt formu
</p>
  <form id="form2" name="form2" method="post" action="uyedb.php">
  <p>&nbsp;</p>
  <table width="46%" height="146" border="1" align="center" cellpadding="0" cellspacing="0" class="arama_label">
    <tr>
      <th width="39%" height="32" scope="col">Kullanıcı Adın:</th>
      <th width="61%" scope="col"><label>
        <input name="kadi" type="text" class="mybuttonstyle" />
      </label></th>
    </tr>
    <tr>
      <th height="29" scope="col">Şifren:</th>
      <th scope="col"><label>
        <input name="sifre" type="password" class="mybuttonstyle" />
      </label></th>
    </tr>
    <tr>
      <th height="37" scope="col">E-mail Adresin:</th>
      <th scope="col"><label>
        <input name="email" type="text" class="mybuttonstyle" id="textfield3" />
      </label></th>
    </tr>
    <tr>
      <th height="41" scope="col"><a href="kayit.php"><img src="kod.php" border="0"  title="Kodu Yenile"  /></a></th>
      <th scope="col"><label>
        <input name="kod" type="text" class="mybuttonstyle" id="textfield4" />
      </label></th>
    </tr>
  </table>
  <p><center>
    <label>
    <input name="button" type="submit" class="mybuttonstyle" id="button" value="&Uuml;ye Ol !" />
    </label>
    <label>
    <input name="button2" type="reset" class="mybuttonstyle" id="button2" value="Reset" />
    </label>
  </center></p>
  </form></th>
    </tr>
  </table>
bu Sorgu
<?php
$kadi=$_POST["kadi"];
$sifre=$_POST["sifre"];
$email=$_POST["email"];
$pass=$_POST["kod"];
require("/var/www/vhosts/chatlok.com/httpdocs/oyun/inc/sql.php");
$kadi=trim($kadi);
$sifre=trim($sifre);
$email=trim($email);
$pass=trim($pass);
session_start();
	  if($_SESSION[pass]!=$_POST[kod])
{
echo "<b>Üzgünüm...Güvenlik Kodunu Hatalı Girdin<a href=kayit.php>Geri Dön ve Doğru Gir</a></b>"; 
exit;
} 
include("fonks.php");
$sorgu= "insert into oyun_uye (id, ad, soyad, kadi, sifre, email)  values 
         (NULL, 'Belirtilmedi', 'Belirtilmedi', '".$kadi."', '".$sifre."', '".$email."')";
$sorguyuat=mysql_query($sorgu); 	 
if ($sorguyuat)
{
echo "Başarılı";
exit;
}
?>
Buda DB fotosu