Unexpected T_ENCAPSED...

From: Date: Sat, 24 Jul 2004 18:49:04 +0000
Subject: Unexpected T_ENCAPSED...
Groups: php.general 
Request: Send a blank email to php-general+get-191758@lists.php.net to get a copy of this message
I've been working on a query to retrieve a user's data based on their UserID that is stored in a variable "$_SESSION['logname']" which underneath I convert using: $UserID = $_SESSION['logname']; But when I execute a SELECT query: $CaptureDetails = "SELECT * FROM RegisteredMembers WHERE UserID = $UserID"; I get: Unknown column 'Admin' in 'where clause' I've tried everything I can think of. any suggestions...? -- ----------------------------- Michael Mason Arras People www.arraspeople.co.uk -----------------------------

« previous php.general (#191758) next »