Delete data from database in MySql in codeigniter
if($this->input->post('delete_user'))
{
$user_id = $this->input->post('user_id');
$this -> db -> where('ID', $user_id);
$this -> db -> delete('login_form');
redirect(dashboard);
}
We provide knowledgeable blogs related to php, jQuery, html, css, wordpress, woocommerce, cordova app with examples in 2021.
if($this->input->post('delete_user'))
{
$user_id = $this->input->post('user_id');
$this -> db -> where('ID', $user_id);
$this -> db -> delete('login_form');
redirect(dashboard);
}
Comments
Post a Comment