Re: Usng Session Vaiable in WHERE Statement

From: Date: Mon, 26 Jul 2004 13:25:58 +0000
Subject: Re: Usng Session Vaiable in WHERE Statement
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-191881@lists.php.net to get a copy of this message
Hello again, Michael! You ought to read this: http://de.php.net/manual/en/language.types.string.php#language.types.string.parsing Daniel Harlequin wrote:
Could someone please help me with my syntax here...? $MembersDataQry = "SELECT * FROM MembersData WHERE UserID='$_SESSION['logname']'"; I get an error on line 2 but can't seem to figure out what I've missed. The variable echoes fine so I know there's a string in there.
-- WWE e-commerce IT GmbH Eiffestrasse 462, D-20537 Hamburg Tel.: +49-40-2530659-0, Fax: +49-40-2530659-50

« previous php.general (#191881) next »