How can i show individual tag id from tags array |
-
nababurbd
Newbie
-
Posts: 7
Threads: 3
Joined: Dec 2019
Reputation:
0
My Controller:
public function tags($tags_id){
$data = array();
$data['getTags'] = $this->Frontend_model->get_tag_by_id($tags_id);
$data['maincontent'] = $this->load->view('frontend/tags', $data, true);
$this->load->view('template/frontend_layouts', $data);
}
My Model:
public function get_tag_by_id($tags_id){
$this->db->select('*');
$this->db->from('tbl_blogs');
$this->db->where('tags' , $tags_id);
$query = $this->db->get();
return $query->result();
}
|
Messages In This Thread |
How can i show individual tag id from tags array - by nababurbd - 02-01-2020, 11:20 AM
|