i have this code. the looping code. but i dont know how to pass the value to the next page. help me please! :P
<?php
$req = $_POST['req'];
echo "<form>";
echo "</form>";
$i=1;
while($i <= $req) {
echo "<label>Requirement " . $i . " :</label><br/";
echo "<input name=\"req".$i."\" type=\"text\" /> <br />";
$i++;
}
echo "<br />";
echo "<input name=\"submit\" type=\"submit\" />";
?>