I belive this UPDATE should work, but it isn't. I get no errors. I have also
tried using FieldName= '$Fieldname', but that does not seem to work either.
$table_name = "contacts";
$update_contact_sql = "UPDATE $table_name
SET
FirstName =\"$FirstName\",
LastName = \"$LastName\",
Title = \"$Title\",
WorkPhone = \"$WorkPhone\",
HomePhone = \"$HomePhone\",
Mobile = \"$Mobile\",
EmailName = \"$EmailName\",
Birthday = \"$Birthday\"
WHERE ContactID = \"$ContactID\"
";
$result = @mysql_query($update_contact_sql, $connection) or die ("Couldn't
execute query.");
tried using FieldName= '$Fieldname', but that does not seem to work either.
$table_name = "contacts";
$update_contact_sql = "UPDATE $table_name
SET
FirstName =\"$FirstName\",
LastName = \"$LastName\",
Title = \"$Title\",
WorkPhone = \"$WorkPhone\",
HomePhone = \"$HomePhone\",
Mobile = \"$Mobile\",
EmailName = \"$EmailName\",
Birthday = \"$Birthday\"
WHERE ContactID = \"$ContactID\"
";
$result = @mysql_query($update_contact_sql, $connection) or die ("Couldn't
execute query.");