1
我在我的首頁我已經定義了一些變量,像這樣請問這個公告:未定義的常量PAGETITLE的使用 - 假設「PAGETITLE」的意思是
define(pageTitle , "Home Page");
define(pageDescription, "Key Descriptin");
define(pageKeywords, "Key words");
在我的代碼後,我有一個元文件它使用這些變量。但我在我的頁面上收到此通知
Notice: Use of undefined constant pageTitle - assumed 'pageTitle'
Notice: Use of undefined constant pageDescription - assumed 'pageDescription'
Notice: Use of undefined constant pageKeywords - assumed 'pageKeywords' in
這是什麼意思?我如何糾正這些?
感謝
謝謝:)你看這個錯誤注意:未定義指數:行動它指的是此行$行動= $ _GET [ '行動']; – Jaylen 2013-03-25 21:18:57
這意味着在查詢字符串中沒有名爲'action'的參數 – 2013-03-25 21:19:55
我該如何解決這個問題? – Jaylen 2013-03-25 21:21:46