我有这段代码:publicfunctionchangeProfile($first_name,$last_name,$email,$phone,$password,$bank_name,$bank_account_number,$bank_account_name,$gender,$birthday,$address,$area,$default_type){$this->connect();$data=array('first_name'=>$this->escapeString($first_name),'last_name'=>$this->escapeString($last_
我正在尝试如何最好地在PHP中准备我的SQLiteSQL字符串。SQLite3类带有一个escapeString()功能,但这是我的问题:尝试1)$sql="INSERTINTOitems('id','content','title','created')VALUES('4e7ce7c18aac8','Doesthiswork',NULL,'2011-09-23T16:10:41-04:00');";$sql=SQLite3::escapeString($sql);echo($sql);这会导致字符串全部被顶起:INSERTINTOitems(''id'',''content'',''