Quotes in querys

From: Date: Wed, 14 Jan 2009 16:17:14 +0000
Subject: Quotes in querys
Groups: php.general 
Request: Send a blank email to php-general+get-286318@lists.php.net to get a copy of this message
Hello, I am trying to get the following to work: "Select Netid from Users where Netid = '$_SESSION[phpCAS][user]'" Netid is a string type. No matter where of if I put the quotes, I still get array[phpCAS] not the value. If there is anything I still have trouble with after all these years its quoting variables. Help? Thanks Mike

« previous php.general (#286318) next »