I'm doing a insert in sql and I needed to change the single quotes, because for example a name O'Connor breaks the structure.
I've tried putting:
str_replace("'", "\'", $cadena);
Also with:
htmlspecialchars($contenido->te...
asked by
01.10.2018 / 16:18