il faut aussi chapper la note l'insertion.
merci Eldy de m'avoir montr addslashes au lieu de mysql_... que j'avais fait prcdemment.
This commit is contained in:
parent
71a9bc219a
commit
7ba4da9525
@ -88,7 +88,7 @@ class Fichinter
|
||||
$sql .= ",fk_projet";
|
||||
}
|
||||
$sql .= ") ";
|
||||
$sql .= " VALUES ($this->socidp, $this->date, now(), '$this->ref', $this->author, '$this->note', $this->duree";
|
||||
$sql .= " VALUES ($this->socidp, $this->date, now(), '$this->ref', $this->author, '".addslashes($this->note)."', $this->duree";
|
||||
if ($this->projet_id) {
|
||||
$sql .= ", $this->projet_id";
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user