123 |
*/ |
*/ |
124 |
$sql = "UPDATE ".MAIN_DB_PREFIX."fichinter SET "; |
$sql = "UPDATE ".MAIN_DB_PREFIX."fichinter SET "; |
125 |
$sql .= " datei = $this->date"; |
$sql .= " datei = $this->date"; |
126 |
$sql .= ", note = '".mysql_real_escape_string($this->note)."'"; |
$sql .= ", note = '".addslashes($this->note)."'"; |
127 |
$sql .= ", duree = $this->duree"; |
$sql .= ", duree = $this->duree"; |
128 |
$sql .= ", fk_projet = $this->projet_id"; |
$sql .= ", fk_projet = $this->projet_id"; |
129 |
$sql .= " WHERE rowid = $id"; |
$sql .= " WHERE rowid = $id"; |