I look at the code, and there is such an example
$_POST['text']['text']
How is this possible, who can tell?
<form action="" method="post"> <input type="text" name="text[a]" value="a"> <input type="text" name="text[b]" value="b"> <input type="text" name="text[]" value="c"> <input type="text" name="text[]" value="d"> <input type="submit"> </form> <pre><?php print_r( $_POST ); ?></pre>
For example:
<input name="text[text]" ... >
Source: https://ru.stackoverflow.com/questions/199052/
All Articles