transfering array type variable using post-form
Sample
form.php
<form action=”v.php” method=”post”>
<input type=text name=array[1] value=”">
<input type=text name=array[1] value=”">
<input type=submit name=submit value=hantar>
</form>
v.php
foreach($_POST["array"] as $test)
{
echo $test . “<br>”;
}
Related posts:
Leave a comment