syntax error?
| From: | Jonas Jochum | Date: | Mon, 19 Jun 2000 15:11:27 +0000 |
| Subject: | syntax error? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-2202@lists.php.net to get a copy of this 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
- --
MfG,
Jonas Jochum
commandline net services
- -------------------------------------------------------------------------
tel: 07223-911794 | cmd:~ # Systemadministration, Netzwerkverwaltung
fax: 07223-911795 | cmd:~ # Einrichtung von *BSD/Linux-Servern
d2 : 0173-5712481 | cmd:~ # Datenbank/Internetprogrammierung
jj@commandline.de | cmd:~ # Webdesign
www.commandline.de |
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (FreeBSD)
Comment: Made with pgp4pine
iEYEARECAAYFAjlOOCIACgkQF1ki3orczCASiQCeMlrx8MMh+5tyXrHg7ARW4Lz7
4VAAoJHAoMaozobtSAdxiIN1CSCQwwhe
=xwbX
-----END PGP SIGNATURE-----