Hello, I am creating some dynamic inputs in the following way:
$(".reporteBody").append('<input type="text" name="titulo' + y + '" id="tiulo' + y + '" value="Caja # ' + y + '">');
Let's say that 3 inputs are created, and since they are inside a form, by means of a button I am passing them to another php file by POST
and I receive it like this:
for($i=0;$i<3;$i++){
$titulo.$i.=$_POST['titulo'.$i];
}
But I get an error when I visualize the file not in the editor, what is the correct way to pass these dynamic values (regardless of the number) and display them correctly?
Thank you.