我有一個mastertbl時間表網絡應用程序的表單表,其中每一行代表員工完成的唯一條目,每行都有選項 3 單選按鈕(僅對管理員可見),管理員在閱讀員工完成的條目時選擇單選按鈕,然后提交完整的表格(讓我的表格有 140 個條目)。下面是admindashboardentry.php表格的行和標題(包含表單標簽)功能的內容如下://Webpage Table Heading function displayTableHeading(){ echo " <form action='selected.php' method='post'> <table border='1' cellpadding='10' cellspacing='0'> <tr> <th colspan='13'><button type='submit' class='btn btn-primary' style='border-radius: 8px;'><i class='fas fa-edit' style='margin-right:10px;'></i>Update</button> </tr> <tr> <th>EmpID - Name</th> <th>Date</th> <th>Start Time</th> <th>End Time</th> <th>Hrs</th> <th>Project Code</th> <th>Task Performed</th> <th>Modified Date</th> <th>Invoice Num</th> <th colspan=3>Status</th> </tr>"; /*echo " <tr> <th colspan=13><input type='submit'/></th> </tr>";*/ }但問題是selected.php我的表只有 100 行,而我的表有 140 個條目。我可以對表的 name 屬性進行任何更改(實際上是在制作 php 數組)?還是name屬性的大小有限制?
1 回答

Smart貓小萌
TA貢獻1911條經驗 獲得超7個贊
因為我托管在免費托管服務提供商處,所以我無法訪問 php.ini 但我可以使用我的.htaccess文件更新它的值。這可以通過更新您的.htacess文件來解決,在我的情況下,我將其更新如下
php_value upload_max_filesize 5M
php_value post_max_size 5M
php_value memory_limit 128M
php_value max_input_vars 5M
最后一行解決了我的問題。謝謝 SO
- 1 回答
- 0 關注
- 277 瀏覽
添加回答
舉報
0/150
提交
取消