Re: Query Returning Error

From: Date: Wed, 13 Oct 2004 08:32:36 +0000
Subject: Re: Query Returning Error
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-199346@lists.php.net to get a copy of this message
On Wed, 13 Oct 2004 08:32:17 +0100, Harlequin <michael.mason@arraspeople.co.uk> wrote: > Morning all. > > this is such a basic question I'm embarrassed to ask but the query worked > fine a few minutes ago and now returns an error: > > I get an error: > > Parse error: parse error, unexpected '=' in sample.php on line 2 > > [CODE] > // Authenticate User: > Query01 = "SELECT * FROM Users $Query01 > WHERE UserID='$_POST[TXT_UserID]' > AND UserPassword='$_POST[TXT_UserPassword]'"; > $Result01 = mysql_query($Query01) or die("Error 01: " . mysql_error()); > [/CODE] >

« previous php.general (#199346) next »