Hi,
This would seem to me to be a vary simple operation to do, but I can't find any 'array' commands that seem to fit - maybe I'm missing something obvious:
Basically I want to know how to conditionally remove a specific string from a given array.
If I've got the array HTTP_GET_VARS,
if (HTTP_GET_VARS[type] == "no")
{
Here is the operation I need to remove HTTP_GET_VARS[category] from the HTTP_GET_VARS array and then return the new array
}
The only 'sort of' relevant functions I can find are the 'push' and 'pop' functions - however these are not what I'm looking for, for obvious reasons.
I'm sure its very simple, but I'm new to php.