mySQL 的查詢結果都回傳字串,PHP 非0 即為true 的隱式轉換又非常的不好 ... 把包有數字的字串轉成int $number = '0'; $int_number = (int) $number;.
確定! 回上一頁