Troubleshooting of PHP errors: Difference between revisions

Jump to navigation Jump to search
m
Line 17: Line 17:
** jQuery: [http://api.jquery.com/jQuery.trim/ $.trim('string')]
** jQuery: [http://api.jquery.com/jQuery.trim/ $.trim('string')]
* 包含特殊符號 ex: 單引號 ', 雙引號 ", 反斜線 \, 大於小於符號 > < <== 對策: [http://www.php.net/manual/en/function.htmlentities.php PHP: htmlentities - Manual]
* 包含特殊符號 ex: 單引號 ', 雙引號 ", 反斜線 \, 大於小於符號 > < <== 對策: [http://www.php.net/manual/en/function.htmlentities.php PHP: htmlentities - Manual]
* 超出預期的內容長度
* 超出預期的內容長度、超出預期的資料數量
* 資料數量從少量變成多量時
* 資料數量從少量變成多量時
* 重複的內容 ex: Excel 欄位重複
* 重複的內容 ex: Excel 欄位重複

Navigation menu