Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
これは、特定のmysqlクエリが空の列を返し、それらをフィルターで除外するかどうかを確認するために使用している27のループの1つです。しかし、それは機能していないようです。どんな助けでも大歓迎です.....
foreach($array as $row) { if(!empty($row['TROVE'])) { $trove = print "<th>TROVE</th>"; break; } }
x個のループでそれをチェックする代わりに...クエリの条件をチェックするのは非常に効率的です...
where TROVE is not null or TROVE <> ''