php - GET variable Value lost ,want to store (causing me trouble in pagination of data ,because GET value lost on page load) -


i m working on php codeigniter found issue while paging datatable, take value view through query string , recevie asa value , use fetch data data base in clause,problem have facing have done paging of retrieved data ,on view 1st set of data comes fine ,but on number 2nd click shows error value empty ,paging works value database offset , limit when value lost after 1st page load ,shows error ,plzz me body can store $_get['value'] long time unless select value view.!!

get variable value lost ,want store changes on requesting (causing me problem in pagination of data ,because value lost on page load)

model

        function get_data($limit,$offset )         {      //$type = $this->input->post('data');       $this->db->select('s_name,p_name,p_price');     //$this->db->from();      $this->db->join('item_info', 'p_id = i_productid ');     $this->db->join('order_info', 'i_orderid = o_id');     $this->db->join('shops_info', 'o_shopid = s_id');      $this->db->where('s_id',$_get['shopid']);     $query = $this->db->get('product_info',$limit,$offset);      return $query->result();     } 


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -