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.
Maybe try this : $q = 'Select Netid from Users where Netid = "' . $_SESSION[phpCAS][user] . '"'; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php