Se
Codice PHP:
$value = "c'è";
E l'input è
Codice:
<input type='text' name='ciao' value='<?= $value ?>'>
Il codice HTML risultante sarà
Codice:
<input type='text' name='ciao' value='c'è'>
cioè
1) value è 'c'
2) "è" diventa una sorta di attributo
3) il codice html che segue non si vedrà fino a quando non c'è un altro '
Se tu usi i doppi apici:
Codice:
<input type="text" name="ciao" value="c'è">
Il problema è risolto
PS: nel database non dovrebbe apparire come c\'è. Questo vuol dire che il valore è stato "escapato" 2 volte: non dovrebbe essere necessario usare stripslashes dai dati dal database.