USA il comando addslashes

praticamente il valore che ti interessa mettere nell'input ti divenat:

$autore = addslashes($autore);