我正在學習PHP從w3schools的PHP教程。我使用PHP 7.0.13 雖然學習我遇到的全局變量的概念 - 超級全局。 This is the page from where I'm learning Global Variables - Superglobals 注:請到上面的鏈接來檢查服務器變量上市。 在這個頁面上,我和所有的服務器變量嘗試,但我得到注意爲未定義指數爲以下幾個服務器變量:
這裏是我的代碼: $order_newest = $order_votes = $order_featured = $order_frequent = '';
if (isset($_GET['o']) || isset($_COOKIE['qanda_questions_order'])) {
// To read from the cookie
if (!