I need to go through $_POST, but I don't know which indexes are used (i want to be able to update multiple users values(inputs have user ID as name). When I go through $_POST with foreach I'm getting the values, but I don't know how to get user_id(index)
if(isset($_POST['credit_update'])){
foreach($_POST as $current){
}
}
i need to get index of $current