$sifre = sha1(md5($this->password));
$kayit_sql = "INSERT INTO uyeler (username, password, email, onayli) values (:nick, :pass, :email, :onayli)";
$data = array(
':nick' => $this->nick,
':pass' => $sifre,
':email' => $this->email,
':onayli' => '0' );
$kayit_sorgusu = $this->baglanti->prepare($kayit_sql,array(PDO::ATTR_CURSOR => PDO::CURSOR_FWDONLY));
$kayit_sorgusu->execute($data);
问题是插入数据库。当我运行此代码时,数据库记录是:
0,0,0,0
我该如何解决这个问题? Database records