Update Multiple Columns with MYSQL

Multiple mySQL Column Updates

To update multiple columns with new values with mysql,
1) $command = "UPDATE table SET col1 = '$var1', col2 = '$var2', col3 = '$var3' WHERE id = '$myid'";
$result = mysqli_query($db, $command);