Re: syntax error?

From: Date: Mon, 19 Jun 2000 17:53:36 +0000
Subject: Re: syntax error?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-2222@lists.php.net to get a copy of this message
Jonas Jochum wrote in message ... >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >Hi, >just a brief question... >why does PHP4 complain about a syntax error in this construct? >IMHO this should be correct, shouldn't it? >$catid = (isset($HTTP_GET_VARS[catid])) ? &$HTTP_GET_VARS["catid"] : 0; > ^^^^^ that's the error How about putting some quotes around 'catid'? miguel

« previous php.general (#2222) next »