Welcome Guest, Not a member yet? Register   Sign In
Can't get URI class and jquery Ajax resquest working right.
#2

[eluser]danmontgomery[/eluser]
Possible that you're trying to load the URI class after it's already been loaded? IIRC loading it twice empties the uri_segments. Why not just pass the ID into the function?

Code:
function products($product_id) {
  $data['product_id'] = $product_id;
  $data['query'] = $this->get_product_model($product_id);

  $this->load->view('backend/products', $data);    
}


Messages In This Thread
Can't get URI class and jquery Ajax resquest working right. - by El Forum - 02-01-2010, 11:47 AM



Theme © iAndrew 2016 - Forum software by © MyBB