RE: [PHP] correct syntax

From: Date: Wed, 25 Jun 2003 08:49:16 +0000
Subject: RE: [PHP] correct syntax
Groups: php.general 
Request: Send a blank email to php-general+get-152727@lists.php.net to get a copy of this message
> -----Original Message----- > From: Harry Wiens [mailto:h.wiens@gmx.net] > Sent: 25 June 2003 09:04 > > What would be the correct syntax? > > 1. $_SESSION[test] > 2. $_SESSION['test'] > 3. $_SESSION["test"] All of these are correct depending on the context. What's your context? Cheers! Mike --------------------------------------------------------------------- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning & Information Services, JG125, James Graham Building, Leeds Metropolitan University, Beckett Park, LEEDS, LS6 3QS, United Kingdom Email: m.ford@lmu.ac.uk Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211

« previous php.general (#152727) next »