看板 PHP 關於我們 聯絡資訊
※ 引述《ldwang (地瓜)》之銘言: : $match_price = "0"; : $t1 = preg_match($re_price, $input1); : $t2 = preg_match($re_price, $input2); : if(($t1==true) && ($t2==true)) : { : $mattch_price = "1"; $match_price = "1"; : /*收款與回程收款輸入正確*/ : } : print_r($match_price); : ?> : 請問,$match_price為什麼不是我所想像的,應該要變成1? (true) : 謝謝 >.< 我已經不知道該說什麼了... -- "I am a full-blooded racer, that's why I'm here. Do they think I came here just for a Sunday afternoon outing?" -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 60.199.248.193
kylekai:你可以嘆口氣~.... 10/08 17:51
ldwang:對不起... 是我暈頭orz 我砍掉原文去^^" 10/08 17:55
hinet60613:mattch~ 10/08 20:49