php barre de recherche, ajout controller, update models

This commit is contained in:
laura.chevillet 2026-01-16 16:41:13 +01:00
parent 63da2a35b5
commit 3f87b615fa
6 changed files with 51 additions and 38 deletions

View file

@ -19,4 +19,11 @@
}
}
protected function nettoyer(string $strText){
$strText = trim($strText);
$strText = str_replace("<script>", "", $strText);
$strText = str_replace("</script>", "", $strText);
return $strText;
}
}