Could someone please let me know if they think it would be possible to utilize the array_search() function on $HTTP_POST_VARS..for example
upon printing the $HTTP_POST_VARS, I receive this on the screen:
Array ( [50] => 30 [51] => 0 [Submit] => 1 )
I'd then simple like to set the value of a specific key value and thought that I could simply do something like this:
$var1=array_search($qid,$HTTP_POST_VARS);
where $qid is equal to the key value.
any suggestions?
oh. wait a second...array_search() pulls the array key and not the associated array value.
Perhaps, I should restate my question then.
Does anyone know which array function I should use to set a variable to array value based upon a array key?