聯系官方銷售客服
1835022288
028-61286886
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at admin@example.com to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
PHP 導入 EXCEL 到數據庫
使用官方的表單插入副表的那個代碼
插入600條記錄左右(因為要入副表,那應該是執行了 600 * 2次)
然后就出現了上面的錯誤!
官方的插入代碼 一條記錄是要執行3次,SQL,一次主表,一次更新主表的tableid,一次是入副表
如果是3次的話,只能400條,1200次
如果是寫死,tableid=0 執行2次,那就也是大概 1200次!
請問,大概是什么問題引起這個錯誤?是超時嗎?還是內存?
內存不足,建議分頁插入,嘴一個進度條的功能
用我那個方法把,能導入的多
http://www.zbshanke.com/wenda/21525.html