Posted by Janwillem Borleffs on 01/02/07 14:11
Jeff Vaccaro wrote:
> How come this doesn't work?
>
> What am I doing wrong?
>
> $type = $_GET['functionType'];
>
Print $type and check the case; 'add' and 'Add' are two different things the
way you compare them.
If the case indeed is the problem try the following function:
http://www.php.net/manual/en/function.strcasecmp.php
JW
Navigation:
[Reply to this message]
|