|
大家好,请问
$this->db->query("insert into sys_files (filename,filesize,filetype,fullpath,isimage,imagewidth,imageheight,imagetype,sendtime) values ('$filename','$filesize','$filetype','$fullpath',$isimage,'$imagewidth','$imageheight','$imagetype',now())");
if($this->db->affected_rows()==1){
$data['fullpath'] = $fullpath;
$data ['oper'] = 1;
}
数据插入后能否返回该新增的ID???
请问是什么??还没找到。。。。 |
|