|  | @@ -2,19 +2,7 @@
 | 
	
		
			
			| 2 | 2 |  
 | 
	
		
			
			| 3 | 3 |  require_once('classes.php');
 | 
	
		
			
			| 4 | 4 |  
 | 
	
		
			
			| 5 |  | -//	header("Content-Type:application/json");
 | 
	
		
			
			|  | 5 | +header("Content-Type:application/json");
 | 
	
		
			
			| 6 | 6 |  
 | 
	
		
			
			| 7 |  | -//	echo json_encode(array("Message" => "Hello world;"));
 | 
	
		
			
			|  | 7 | +echo json_encode(array("Message" => "Hello world;"));
 | 
	
		
			
			| 8 | 8 |  
 | 
	
		
			
			| 9 |  | -
 | 
	
		
			
			| 10 |  | -$bdd = new Connector();
 | 
	
		
			
			| 11 |  | -
 | 
	
		
			
			| 12 |  | -$options = array(
 | 
	
		
			
			| 13 |  | -	"where" => array(
 | 
	
		
			
			| 14 |  | -		array("login", "=", "Dragavnir"),
 | 
	
		
			
			| 15 |  | -	),
 | 
	
		
			
			| 16 |  | -	"order by" => array("score", "desc"),
 | 
	
		
			
			| 17 |  | -	"limit" => array(0, 10) // Ou array(10)
 | 
	
		
			
			| 18 |  | -);
 | 
	
		
			
			| 19 |  | -
 | 
	
		
			
			| 20 |  | -var_dump($bdd->Select("*", "scores", $options));
 |