non hai inserito l'assegnazione della variabile $testo. L'errore è chiaro in effetti. ci vuole $testo=$_POST["testo"];
Regole del Forum