I am trying to pass a value from a view to a controller then to a view, which does not work for a reason, here is my view link that passing the value
<a href="<?php echo site_url('social_controller/load_modal/'.$row->PageFbPageID.''); ?>">More</a>
Here is my controller
function load_modal() {
$this->load->helper('url');
$term = $this->uri->segment(3);
$this->load->view('/modals/fetch_modal',$term);
}
and here is my fetch_modal
view
<?
echo $term;
?>
when i click More, the link actually has the value i need in the uri but i can not seem to pass it to the controller and then to my view , i am getting a white page only.