There is a table in which data is edited and a button for which this is all saved. The request initially looked like this:
$SQL = "UPDATE Users SET phone='$phone', name='$name', surname='$surname', second_name='$second_name', manager_comment='$manager_comment', delivery_adress='$delivery_adress', delivery_time='$delivery_time', delivery_date='$delivery_date', courier='$courier' WHERE id='$form_id'"; $result = mysqli_query($link, $SQL);
But he writes only 1 line. How to rebuild a query so that it makes multiple entries for each id?