Ah, ok! grazie

e come poteva essere utile usare

$titolo = addslashes($titolo);
$titolo = htmlspecialchars($titolo);

???

Ciao ciao