ok here is what I got I have an array and I pass it to a php script with a hidden form feild like so using the Method of POST
excerp form the script that sends array to other script
for ($Counter = 1; $Counter < 51; $Counter++)
{
echo"<input type=hidden name=\"HiddenState[]\" value=\"StatesOfTheUSA[$Counter]\">";
}
then in the other script file I got this
for ($Counter = 0; $Counter < 50; $Counter++)
{
if($HiddenState[$Counter] == $State)
{
echo"The State Capital is $StateCapital[$Counter]";
}
}
how would I go about $_POST this line if($HiddenState[$Counter] == $State)