php barre de recherche, ajout controller, update models
This commit is contained in:
parent
63da2a35b5
commit
3f87b615fa
6 changed files with 51 additions and 38 deletions
|
|
@ -19,4 +19,11 @@
|
|||
}
|
||||
}
|
||||
|
||||
protected function nettoyer(string $strText){
|
||||
$strText = trim($strText);
|
||||
$strText = str_replace("<script>", "", $strText);
|
||||
$strText = str_replace("</script>", "", $strText);
|
||||
return $strText;
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue