Re: Re: Value of $_* variables

From: Date: Wed, 06 Mar 2002 02:01:37 +0000
Subject: Re: Re: Value of $_* variables
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-87401@lists.php.net to get a copy of this message
Yes, there is, strings should *always* be quoted! See: http://www.php.net/manual/en/language.types.array.php it's under do's and don'ts .. bvr. Mike Eheler wrote:
$result = mysql_query("select user from users where id = $_SESSION[id]", $db); No need to quote the key name in a string.


« previous php.general (#87401) next »