Obtenga y repita entradas de textarea repetidamente [cerrado]
Tengo un formulario HTML simple como este:
<form action="index.php" method="post">
<textarea id="question" name="question"></textarea>
<input type="submit"/>
</form>
Y el procedimiento que me gustaría que sea es algo como se describe aquí:
Escriba algo en el área de texto y haga clic en enviar, se mostrará el resultado:
[... the only text area got blank and be ready for new input ...]
Question 1: Something typed firstly
Escriba otra cosa en el área de texto anterior y envíe, el resultado se muestra:
[... the only text area got blank and be ready for new input ...]
Question 1: Something typed firstly
Question 2: Something typed secondly
Y así...
[... the only text area got blank and be ready for new input ...]
Question 1: Something typed firstly
Question 2: Something typed secondly
...
Question n: Something typed at the n time
¿Alguien tiene una idea o puede darme una pista de cómo hacerlo usando solo HTML y PHP?
¡Muchas gracias!