Oh, grazie!
Ho messo
$comment2 = addslashes($comment);
poi all'echo ho scritto:
stripslashes($comment2)
se metto solo addslashes, vanno al database, mapoi mi stampa anche le /
quindi ho aggiunto la stripslashes, ma di da l'errore di sintassi :master:
Lo "'è" sarebbe stato un c'è..codice:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'è', '1141688851')' at line 1
edit: i messaggi vecchi sono influenzati: con solo addslashes ci mette le / , con entrambi tornano a posto.
(ho provto a fare dei post con apici direttamente scrivendoli nel db).
Il problema sono i nuovi post.![]()