Double WHERE query on server side to create jqgrid json
问题 I use server side to create json on jqgrid. My problem is when I want to include WHERE into mySQL query, because WHERE has been used in searching operator. The server side code is <?php include("dbconfig.php"); $page = $_REQUEST['page']; $limit = $_REQUEST['rows']; $sidx = $_REQUEST['sidx']; $sord = $_REQUEST['sord']; // if we not pass at first time index use the first column for the index or what you want if(!$sidx) $sidx =1; //array to translate the search type $ops = array( 'eq'=>'=', /