i am using html form to pass an array to a php page
<form method="post" action="test.php">
<input name = "myName[]" type = "text">
<input name = "myName[]" type = "text">
</form>
but when i retrive the "myName[]" array elements in the php page it gives no value or the syntax error
i am using the following syntax
<?php
echo $GET['myName[0]'];
echo $GET['myName[0]'];
?>
i have also used the following syntax
<?php
echo $GET['myName'[0]];
echo $GET['myName'[0]];
?>
but i didn't works.
Guide me to retrieve the values passed through a html array.
Thanks
Kashan