在Ci I m, 发现以下错误:
A Database Error Occurred
Error Number: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near , 1f37540fc54292b018a9e993da38cb5647dc5587 , NOW(), 0 ) at line 1
INSERT INTO users (userpid, Email, Password, dateTimeRegistered, isLeader) VALUES ( 147344f0e33367f9e6 , erf , 1f37540fc54292b018a9e993da38cb5647dc5587 , NOW(), 0 )
Filename: C:WorkspacehtdocsMisc-2DruvlaCi-1systemdatabaseDB_driver.php
Line Number: 330
但是,一切似乎都是在谈判桌上。 下面是我的问询、任何想法?
$query = $this->db->query("INSERT IGNORE INTO users (userpid, Email, Password, dateTimeRegistered, isLeader) VALUES ( {$idgen} , {$postedEmail} , {$hashedPass} , NOW(), 0 )");