12-10-2017, 10:26 AM
(12-10-2017, 04:22 AM)Redwoodcutter Wrote:PHP Code:public function Picture_Upload($id){
$data["$id"]=$id;
$this->load->view('admin\add_products_picture',$data);
}
..............
Use
Code:
$data["id"]=$id;
instead of
Code:
$data["$id"]=$id;
And then the template will have your id variable.