Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 798 Rev 1076
Line 121... Line 121...
121
     	$valeur = $this->nettoyerMotsCles($valeur);
121
     	$valeur = $this->nettoyerMotsCles($valeur);
122
     	$chaine = $this->proteger($valeur);
122
     	$chaine = $this->proteger($valeur);
Line 123... Line 123...
123
 
123
 
Line 124... Line 124...
124
     	$requete_suppression_mots_cles = "UPDATE cel_inventory SET " ;
124
     	$requete_suppression_mots_cles = "UPDATE cel_inventory SET " ;
125
 
125
 
126
		$requete_suppression_mots_cles .= "mots_cles = REPLACE(REPLACE(mots_cles,'".$chaine."',''),';;',';') ";
126
		$requete_suppression_mots_cles .= "mots_cles = REPLACE(REPLACE(mots_cles,".$chaine.",''),';;',';') ";
Line 127... Line 127...
127
		$requete_suppression_mots_cles .= "WHERE ordre IN (".$uid[1].") AND identifiant = '".$DB->escapeSimple($uid[0])."'";
127
		$requete_suppression_mots_cles .= "WHERE ordre IN (".$this->proteger($uid[1]).") AND identifiant = ".$this->proteger($uid[0]);
128
		$resultat_suppression_mots_cles = $this->executerRequeteSimple($requete_suppression_mots_cles);
128
		$resultat_suppression_mots_cles = $this->executerRequeteSimple($requete_suppression_mots_cles);
129
 
129