Re: [請益] 一個簡單的語法請問 謝謝

看板PHP作者 (十三夜)時間14年前 (2011/04/24 00:12), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串4/5 (看更多)
※ 引述《goodtau (goodtau)》之銘言: : 不好意思打擾了 : if($_POST["comm"] == "推薦此店家" and $oldip!=$ip or $sec>$oldsec+600){ 改成if(($_POST["comm"] == true) and $oldip!=$ip or $sec>$oldsec+600){ post過來的時候也用true看看 反正也只有推薦或不推薦兩種結果 看看有沒有問題吧 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 123.194.48.250
文章代碼(AID): #1Dilf_7R (PHP)
文章代碼(AID): #1Dilf_7R (PHP)