我有這樣的代碼<?php if ($trx->de_amount2 == '10000' ||$trx->de_amount2 == '15000'||$trx->de_amount2 == '20000'||$trx->de_amount2 == '25000'||$trx->de_amount2 == '30000' ):?> ok<?php else:?>no<?php endif;?>我想用一個不像這樣的簡單代碼使數字從5000到100萬的倍數$trx->de_amount2 == '10000' ||$trx->de_amount2 == '15000'我怎么做?
如何使用PHP制作簡單的多個名詞?
慕婉清6462132
2021-05-18 17:18:00