you might need to place a space before WHERE
From: Phil Reid [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 19, 2002 9:33 AM
To: [EMAIL PROTECTED]
Subject: [PHP] URGENT
I am in urgent need of help! (AGAIN)
Can anyone spot anything wrong with this query?
$sql = "UPDATE IGNORE customer SET forename = '$forename', surname =
'$surname', e-mail ='$email', company = '$company', homephone =
'$homephone', workphone = '$workphone', mobilephone = '$mobilephone',
address1 ='$address1', address2 ='$address2', address3 = '$address3',
local = '$local', city = '$city', postcode = '$postcode', id = '$id'";
$sql .= "WHERE username='$username'";
I need to get it working NOW!
I will be very grateful if I receive the same level of help as before.
Thanks a lot.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php