|
Posted by Janwillem Borleffs on 11/04/94 11:42
Jim Carlock wrote:
> $_GET['city'] displays behaves like a stubborn mule and refuses
> to get the get and returns empty ("").
>
> Is there a way to turn off the case sensitivity ?
>
As an alternative to juglesh's suggestion, you could also change the case of
all keys of the $_GET array to lowercase using the array_change_key_case()
function:
$lc = array_change_key_case($_GET);
$city = $lc['city'];
Especially useful if there are more values to grab from the $_GET array.
JW
Navigation:
[Reply to this message]
|