Re: Difference between $_POST[foo] and $_POST['foo']?

From: Date: Tue, 17 Jun 2003 10:42:14 +0000
Subject: Re: Difference between $_POST[foo] and $_POST['foo']?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-151800@lists.php.net to get a copy of this message
the first will generate a warning if warnings are enabled. it could mean a constant or a string, if a constant with that name is not available php will use it as a string and show a warning. the second is right as a string. Thomas On Tue, 17 Jun 2003 11:09:14 +0300 Jarmo.Jarvenpaa@softers.net (Jarmo Järvenpää) wrote: > Hi > > A quickie, how does the $_POST[foo] and $_POST['foo'] differ? > Both do work. > > > BR, > Jarmo

« previous php.general (#151800) next »