I working with form that depending on the user’s input creates a certain amount of input boxes which are given the name=‘step$num’. When I post the variables to the next page, I am trying to set the post values to a variable.
for($i=1;$i<$maxsteps;$i++){
$step$i = $_POST['step$i'];
echo "$step$i";
This is obviously wrong, I think it has something to do with variable variables but I can’t find anything on this.
Thanks a bunch. :beam: