|
|
各位大侠看下以下代码是哪里问题,请指教 数据目前是加不了 提交后空白
$pptword = strip_tags(cat_pos(get_cat($post['catid']), ','));
$keyword = $title.$pptword;
$tarea = area_pos($areaid, ' ');
$ttag = $MOD[linkurl].$v[linkurl];
$this->db->query("INSERT INTO {$DT_PRE}buy_24 (catid,typeid,areaid,level,title,introduce,tag,keyword,pptword,tousername,tocompany,username, company,truename,telephone,address,email,qq,adddate) VALUES ('$post[catid]',0,'$areaid',0,'$title','$content','$ttag','$keyword','$pptword','$v[username]','$v[company]','$user','$company','$truename','$telephone','$tarea','$email','$qq','$adddate')");
$this->itemid = $this->db->insert_id();
//$content_table = content_table($this->moduleid, $this->itemid, $this->split, $this->table_data);
$this->db->query("REPLACE INTO {$DT_PRE}buy_data_24 (itemid,content) VALUES ('$this->itemid', '$content')");
$this->update($this->itemid); |
|