Welcome Guest, Not a member yet? Register   Sign In
Help in converting vanilla PHP to CI (AJAX + filter + infinity scroll)
#2

https://www.codeigniter.com/user_guide/g...ur-methods

Code:
$.get(baseURL+'/index.php/home/filtered/'+total_record+'/'+brand+'/'+material+'/'+size)
PHP Code:
<?php
class Home extends CI_Controller {

 
       public function filtered($group_no$brand$material$size)
 
       {
 
               echo $group_no;
 
               echo $brand;
 
               echo $material;
 
               echo $size;
 
       }

Reply


Messages In This Thread
RE: Help in converting vanilla PHP to CI (AJAX + filter + infinity scroll) - by jreklund - 03-23-2018, 05:11 AM



Theme © iAndrew 2016 - Forum software by © MyBB