Taking data from php formats with cycles

Asked

Viewed 21 times

0

I need to use some PHP cycle to get the form data on a processing page. I thought I’d put a count variable inside an input name ID box, like this:

$c=1;
while($c <= 5) {
  $tabela[$c]= $_POST['nome$c'];
}

Could print later using:

$c2= 1;
while($c2 <= 5) {
  echo $tabela[$c2];
}

The server cannot identify the $_POST['nome$c'];, I don’t know what I do

1 answer

0

  • I’ll test, thanks for your help!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.