- Snippets: Selecteer alles
- while ($row = $db->sql_fetchrow($result))
- {
- if ( $row['topic_status'] == ITEM_LOCKED )
- {
- $closed_topics[] = (int) $row['topic_id'];
- }
- else
- {
- $topic_list[] = (int) $row['topic_id'];
- }
- }
- while ($row = $db->sql_fetchrow($result))
- {
- if ( $row['topic_status'] == ITEM_LOCKED )
- {
- $closed_topics[] = (int) $row['topic_id'];
- }
- else
- {
- $topic_list[] = (int) $row['topic_id'];
- }
- }