วิธีแก้ PHP Notice Use of undefined constant
Updated: 3 November 2020Error ด้านบนนี้เป็นจะขึ้นก็ต่อเมื่อเราเปิด error_reporting เป็นแบบ error_reporting(E_ALL ^ E_NOTICE);โดนมันจะแจ้งเตือนเราว่า ค่าตัวแปรที่คุณกำหนด มันยังไม่ถูกต้องนะ หรือมันอาจจะผิดรูปแบบ คุณควรจะใส่แบบนี้ (แบบมี ‘…’ คั่น)เท่าที่ผมเข้าใจนะ การใส่กับไม่ใส่ ข้อแตกต่างมันอยู่ตรงที่ ชื่อของตัวแปรที่เราตั้ง … Continue reading วิธีแก้ PHP Notice Use of undefined constant
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed