Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if(isset($_POST["myTF"])){
- $myTF=$_POST["myTF"];
- foreach($myTF as $index_first => $val){
- foreach($val as $index_second => $val2){
- echo($val2);
- }
- }
- }
- ?>
- <html>
- <head>
- </head>
- <body>
- <form method="POST" action="">
- <input type="text" name="myTF[0][0]" values="A"/><br>
- <input type="text" name="myTF[0][1]" values="B"/><br>
- <input type="text" name="myTF[0][2]" values="C"/><br>
- <input type="text" name="myTF[1][0]" values="D"/><br>
- <input type="submit" value="send"/>
- </form>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment