Subversion Repositories Sites.obs-saisons.fr

Rev

Rev 210 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 210 Rev 284
Line 43... Line 43...
43
    	
43
    	
44
    	if(!empty($erreurs)) {
44
    	if(!empty($erreurs)) {
45
    		$this->envoyer($erreurs);
45
    		$this->envoyer($erreurs);
Line 46... Line -...
46
    	}
-
 
47
    	
-
 
48
    	$id_participant = $params['id_participant'];
46
    	}
49
    	
47
    	
50
    	$requete_creation_individu = 'INSERT INTO ods_individus '.
48
    	$requete_creation_individu = 'INSERT INTO ods_individus '.
51
					'(oi_ce_espece, oi_ce_station, oi_nom) '.
49
					'(oi_ce_espece, oi_ce_station, oi_nom) '.
52
					'VALUES ('.
50
					'VALUES ('.
Line 142... Line 140...
142
    
140
    
Line 143... Line 141...
143
    private function getIndividusPourStation($params) {
141
    private function getIndividusPourStation($params) {
Line 144... Line 142...
144
    	
142
    	
-
 
143
    	$id_station = $params[0];
-
 
144
    		    	
-
 
145
		$requete_individus_station = 'SELECT oi.* FROM ods_individus oi '. 
145
    	$id_station = $params[0];
146
		                             'INNER JOIN ods_especes oe '.
146
    		    	
147
		                             'ON oi.oi_ce_espece = oe.oe_id_espece '.
Line 147... Line 148...
147
		$requete_individus_station = 'SELECT * FROM ods_individus '. 
148
		                             'AND oe.oe_espece_active = 1 '.