se il form manda i dati su un db, dovrebbe bastare una qualche query

es: col form ottieni nome, mail e commento
la query è "SELECT nome, mail, commento FROM tabella_ospiti"