I wanted to update multiple records but I did not because this code updates only 99 rows. After 99 rows it will not update anything. I do not understand what is the problem in this code and where the limit is set in my code. Here is the code:
<?php
    if(isset($_POST['Submit']))
    {
    $count=count($_POST["id"]);
    for($i=0;$i<$count;$i++){
    $id= $_POST['id'][$i];
    $id2= $_POST['id2'][$i];
    $ird = $_POST['ird'][$i];
    $task_desp = $_POST['task_desp'][$i];
    $department = $_POST['department'][$i];
    $asigned = $_POST['asigned'][$i];
    $qty = $_POST['qty'][$i];
    $qty2 = $_POST['qty2'][$i];
    $persent = $_POST['persent'][$i];
    $frmdate = $_POST['frmdate'][$i];
    $todate = $_POST['todate'][$i];
    $sql="UPDATE sow2 SET id2='$id2',ird='$ird',task_desp='$task_desp', department='$department',asigned='$asigned', qty='$qty', qty2='$qty2', persent='$persent', frmdate='$frmdate', todate='$todate' WHERE id='$id'";
    $result = $con->query($sql);
    $status = "Record Updated Successfully. </br></br>";
    echo '<p style="color:#FF0000;">'.$status.'</p>';
    }
    }
    ?>
 
     
    