This question has already been answered:
How to update multiple records in the database?
There is such an array $ update_user in it like this:
Array ( [makaka_kaka] => Array ( [0] => 37.00 ) [makdak04] => Array ( [0] => 37.00 ) [simba03] => Array ( [0] => 37.00 ) [peter02] => Array ( [0] => 37.00 ) [tester] => Array ( [0] => 37.00 ) ) And there is such a table with the name users
________________________________ | id | record | user | |----|-------------|------------| | 1 | 00.00 | makaka_kaka| |----|-------------|------------| | 2 | 00.00 | user4 | |----|-------------|------------| | 3 | 00.00 | makdak04 | |----|-------------|------------| | 4 | 00.00 | oser0007 | |----|-------------|------------| | 5 | 00.00 | peter02 | |----|-------------|------------| | 6 | 00.00 | 7788 | |----|-------------|------------| | 7 | 00.00 | 8867 | |----|-------------|------------| How to make an update request to update the record field where the user matches the login from the array.
In the record field you need to insert what is in the array of the user.