addslashes_gpc() (funzione WordPress) fa l’escape tramite backslash (\) della stringa ottenuta tramite richiesta HTTP, che restituisce.
tips&tricks
Sintassi
addslashes_gpc($stringa)
| parametro | descrizione |
|---|---|
| $stringa | La stringa da processare |
Esempi
echo addslashes_gpc("cos'è"); // cos\'è
Contenuti correlati
- CSS
- HTML
- JavaScript
- jQuery
- PHP
- SQL
- WORDPRESS
0 Comment