Re: MySQL problem - stumped

From: Date: Sat, 10 Mar 2001 19:01:32 +0000
Subject: Re: MySQL problem - stumped
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-43329@lists.php.net to get a copy of this message
At 19:58 10.03.2001, John Vanderbeck said: --------------------[snip]-------------------- >$query = "UPDATE Users SET firstname='$firstname', lastname='$lastname' >WHERE username='$user' && password='$password'"; --------------------[snip]-------------------- Try "AND" instead of "&&", this should work as intended... ...ebird >O Ernest E. Vogelsinger (\) http://www.1-at-web.at/ ^ ICQ# 13394035

« previous php.general (#43329) next »