Sunday, 13 June 2021

change admin deal_product

 

//Adding these BOLD line

$proname= $this->input->post("prod_title");

$q=$this->db->query("Select * from `products` where `product_name`='".$proname."' ");

$product_row= $q->row();

$this->load->model("product_model");

$array = array( 

//"product_name"=>$this->input->post("prod_title"), 

"product_id "=>$product_row->product_id,

"product_name"=>$product_row->product_name,

No comments:

Post a Comment