Image

Imagecyclotron wrote in Imagephp

Help passing an array with POST

Seems there are two solutions
1) convert array to a string, pass it, then break into an array again
or
2) Break the array down into individual form fields.



I pass everything to another page with a form
input type=hidden name=account()

And print_r($_POST) gives me

Array
(
[account()] => Array
[submit] => send
)


So I get the array values and I get

Array
(
[0] => Array
[1] => send
)

How can I get to the Array at position 0? I tried $_POST['account()'] but that gave me an error. And so did Array['0'].