Update Mysql field

  MySQL
UPDATE table SET fieldname = 'newvalue' WHERE id = 'name'