title: MySQL Update only certain fields in a table
body: <p>I have some insurance information in a website, and I'd like to only edit certain fields the user wants to change like for example:
  user, id, phone, address, city</p>
  
  <p>and the user wants to change his city and phone...do i have to make a query for each specific case or is there a code that can help me retrieve the key(phone) and value (9397171602)??</p>
  
  <p>to then send it in a query</p>