When issuing the following UPDATE cmd, it never updates, nor does it give me an error message... am I missing something?
$query = "UPDATE tblCustomers SET (companyName = '$companyName' AND customerEmailAddress = '$customerEmail' AND customerPhoneNum = '$customerPhonNum' AND customerFaxNum = '$customerFaxNum' AND customerAddress1 = '$customerAddress1' AND customerAddress2 = '$customerAddress2' AND customerCity = '$customerCity' AND customerState = '$customerState' AND customerZipCode = '$customerZipCode') WHERE custID = '$customerID'";
I echo'd the result and everything was there, it just doesn't update the mysql database. Any ideas?
$query = "UPDATE tblCustomers SET (companyName = '$companyName' AND customerEmailAddress = '$customerEmail' AND customerPhoneNum = '$customerPhonNum' AND customerFaxNum = '$customerFaxNum' AND customerAddress1 = '$customerAddress1' AND customerAddress2 = '$customerAddress2' AND customerCity = '$customerCity' AND customerState = '$customerState' AND customerZipCode = '$customerZipCode') WHERE custID = '$customerID'";
I echo'd the result and everything was there, it just doesn't update the mysql database. Any ideas?