Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to get array with $_POST

Status
Not open for further replies.

rastkocvetkovic

Programmer
Aug 11, 2002
63
SI
first.php

<form>
<loop>
movie[]
</loop>
submit > second.php

second.php

for ($i = 0; $i < count($movie); $i++) {
echo $_POST['movie[$i]']; //this doesn't work
}

What could replace the $_POST['movie[$i]'] and is not $movie[$i]? Thanks for answer.
 
code please :) ______________________________________________________________________
There's no present like the time, they say. - Henry's Cat.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top