No, that isnt exactly what I am trying to do. Let me try and explain it a little better. In the html form, I have:
<input type=text name=company[0]><br>
<input type=text name=company[1]><br>
<input type=text name=company[2]><br>
When the form is submitted, I only need to get the values of company[1] and company[2] if company[0] is a specific value. So, I was wondering how I check that value using the $_POST variable. I know that I could check it doing:
$a = $_POST["company"];
if ( $a == 'something' )
...
but i was wondering if there is a way to do it without the step of assigning the array to a variable first such as:
if ( $_POST["company[0]"] == 'something' )
....
But that doesnt work. Hope that makes better sense. Thanks in advance.