I have problem when post many row data in my tabular input, i only see 500 rows.
here my code for detail:
<?php
if($_POST){
echo '<pre>';
print_r($_POST);
echo '</pre>';
}
?>
<form method="post" enctype="multipart/form-data" >
    <table>
        <tr>
            <td>Value</td>
            <td>Name</td>
        </tr>
    <?php for($i=1;$i<=1000;$i++){?>
        <tr>
            <td><input type="input" name="attributes[<?= $i ?>][value]" value="<?= $i ?>" /></td>
            <td><input type="input" name="attributes[<?= $i ?>][name]" value="<?= 'name'. $i ?>" /></td>
        </tr>
    <?php } ?>
    </table>
<input type="submit"/>
</form>
                Limit can be identified using max_input_vars which is default 1000.
If you have multiple arrays with unknown indexes, then you must need to change max_input_vars in php.ini file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With