iT邦幫忙

0

【Codeigniter】-(BUG)[Where][Or_Where]-菜鳥日記(7)

Where與Or_Where連用時似乎會衝突導致
Or_Where捨棄條件。
雷:但是SQL語法印出來還是正確的
結果是錯誤的。

$this->db->where('supervisor_1_code',$trial_staff_code);
$this->db->or_where('supervisor_2_code',$trial_staff_code);

圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

1 則留言

0
andrew82036
iT邦新手 5 級 ‧ 2019-03-21 17:41:43

SQL語法可以貼出來看一下嗎?

我要留言

立即登入留言