Post text box array in PHP
arrays, php, post
Solution
<input type="text" name="array[]" />
<input type="text" name="array[]" />
<input type="text" name="array[]" />
<input type="text" name="array[]" />
print_r( $_POST['array'] );
Problem
I have text box values to be posted . How do I take it in a PHP array . EDIT ``` --------------------------- <input type="text" name="ItemName[1][2]" > <input type="text" name="ItemName[1][3]" > <input type="text" name="ItemName[1][4]" > ------------------------------ $ItemNamesArray = $_POST[] ..... ????? What do I do in this step??? ``` Please help.