Reply to Re: Simple If Statement

Your name:

Reply:


Posted by Jeff Vaccaro on 01/02/07 14:32

Apparently there was a rogue space in the $_GET. I trimmed that and
now it appears to be working!

Thanks.


Janwillem Borleffs wrote:
> 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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация