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

From: Date: Tue, 17 Jun 2003 14:09:01 +0000
Subject: Re: Difference between $_POST[foo] and $_POST['foo']?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-151832@lists.php.net to get a copy of this message
A side question along with this ,,, how can I include $_POST['foo'] in the : $sql ="select * from db where apple = '$_POST['foo']' "; without getting an error ?? should I append it as $var= $_POST['foo']; before??? Thnx Nabil "Jarmo Järvenpää" <Jarmo.Jarvenpaa@softers.net> wrote in message news:3EEECCAA.2F831883@softers.net... > Hi > > A quickie, how does the $_POST[foo] and $_POST['foo'] differ? > Both do work. > > > BR, > Jarmo

« previous php.general (#151832) next »