/**
* 清除记录
*/
public
function clear_apply_row() { $trial_id = $this->input->get('trial_id', ture); $phone = $this->get_clear_phone_line(); $this->load->database(); $sql = "delete from filorga_trial_apply where apply_telephone=$phone"; if($trial_id) { $sql .= " and trial_id=$trial_id"; } $res = $this->db->query($sql); $num = $this->db->affected_rows(); echo '影响行数:' . $num; echo "<br />"; if($res) { echo '删除申请记录成功'; } else { echo '删除申请记录失败'; } }

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-26
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案