MSqli query not inserting more more than 100 records : I have to insert 1000 records to read from file and insert to db but my code id not working more than 100 times. Any setting we have to apply to insert 100 records

Here is my code

        <?php 
        
    
        
          $servername = "**";
          $username = "**";
          $password = "**"; 
          $dbname = "**";
          
        
           $con=mysqli_connect($servername, $username, $password,$dbname);
          
          
          
          for($i=0; $i<400; $i++){
             
             $query = mysqli_query($con,"INSERT INTO table_name (column1, column2, column3)
    VALUES (value1, value2, value3)");
        	   
            
         
          }
        
           $query->close();
          
            $con->close();
            ?>


Its working only 100 time if I set loop to run more than then it does not work any idea ?
 