else 是非必要的,視需求來使用,透過條件為false來觸發else裡要執行的事件。 以下範例皆會輸出相同的結果:a為真 $a=true; if ($a){echo 'a為真';} if (!$a){echo 'a ...
確定! 回上一頁