Subversion Repositories eFlore/Applications.coel

Rev

Rev 1497 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1497 Rev 1595
Line 52... Line 52...
52
		// recuperation des pays
52
		// recuperation des pays
53
		$requete = '
53
		$requete = '
54
			SELECT cmlv_id_valeur, cmlv_nom FROM coel_meta_liste_valeur
54
			SELECT cmlv_id_valeur, cmlv_nom FROM coel_meta_liste_valeur
55
			WHERE cmlv_ce_parent=1074
55
			WHERE cmlv_ce_parent=1074
56
		';
56
		';
57
		$pays = $this->bdd->query($requete)->fetchAll();
57
		$pays = $this->bdd->query($requete)->fetchAll(PDO::FETCH_ASSOC);
Line 58... Line 58...
58
		
58
		
59
		$requete = '
59
		$requete = '
60
			SELECT cp_id_personne, cp_truk_recolte
60
			SELECT cp_id_personne, cp_truk_recolte
61
			FROM coel_personne
61
			FROM coel_personne
62
		';
62
		';
Line 63... Line 63...
63
		$resultat = $this->bdd->query($requete)->fetchAll();
63
		$resultat = $this->bdd->query($requete)->fetchAll(PDO::FETCH_ASSOC);
Line 64... Line 64...
64
		
64