这是代码片段:
$pqry = $dbcon->prepare("INSERT INTO pr_users VALUES (NULL,'?','?',MD5('?'),MD5('?'))");
$dbcon->beginTransaction();
$pqry->execute(array($qryfields['email'],$qryfields['pw'],$qryfields['pw'],$qryfields['pw'].time()));
$lastID = $dbcon->lastInsertId();
$dbcon->commit();
将行插入为:
? | ? | hashed value of ? | hashed value of ?+time()
我应该:key
改用吗?