Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 3303 Rev 3304
Line 420... Line 420...
420
	    $this->bdd->requeter($requete);
420
	    $this->bdd->requeter($requete);
421
	}
421
	}
Line 422... Line 422...
422
	
422
	
423
	private function changerSensible(){
423
	private function changerSensible(){
424
	    echo "Sensible \n";
424
	    echo "Sensible \n";
425
	    $requete = "ALTER TABLE tb_nettoye_cel`cel_obs` ADD `published_location` int(1)";
425
	    $requete = "ALTER TABLE tb_nettoye_cel.`cel_obs` ADD `published_location` int(1)";
Line 426... Line 426...
426
	    $this->bdd->requeter($requete);
426
	    $this->bdd->requeter($requete);
427
	    
427
	    
428
	    $requete = "UPDATE tb_nettoye_cel.cel_obs SET published_location = '1' WHERE `mots_cles_texte` like '%sensible%'";
428
	    $requete = "UPDATE tb_nettoye_cel.cel_obs SET published_location = '1' WHERE `mots_cles_texte` like '%sensible%'";