An update query in MySQL using PHP can be written using the mysqli_query() function. The syntax for this function is as follows: mysqli_query($connection, "UPDATE ...