AndrewSimm
Well-known member
I am working on a using #_GET to filter data.. Let's say the visit the page "index.php?players/" and don't filter yet. How would I assign the variable to have the "all" value?  The code bellow is not working.
	
	
	
		
				
			
		PHP:
	
	$get_state = $this->filter('state', 'str');
if(!isset($get_state) OR $get_state == "all" OR $get_state = "") {
    $get_state = "all";
    $state_op = "!=";
} else {
    $state_op = "=";
} 
 
		 
 
		 
 
		
 
 
		 
 
		 
 
		