public function create($_post) { $prepare = $this->prepare($_post); $prepare['idskills'] = parent::search($_post, 'a_skill_list'); // echo "<pre>"; // print_r($prepare); $this->id = parent::create($prepare, $this->table); }
public function create($_post) { if (self::check($_post) == false) { $this->id = parent::create($_post, $this->table); } else { return; } }
public function create($_post) { $_post['userid'] = $this->user_id; $this->prepare($_post); $this->id = parent::create($_post, $this->table); if (!isset($this->id)) { throw new Exception("Database Error [{$this->dbcon->errno}] {$this->dbcon->error} <br><br> SQL: {$sql}", 1); } else { return $this->id; } }
public function create($_post) { $this->prepare($_post); $this->id = parent::create($_post, $this->table); return $this->id; }
public function create($_post) { $data = $this->prepare($_post); $this->id = parent::create($data, $this->table); }
public function create($_post) { // $this->prepare($_post); $this->id = parent::create($_post, 'a_education'); return $this->id; }