Code: Alles auswählen
$row['topic_calendar_time']
Also der Wert.
Und
Code: Alles auswählen
SELECT * FROM " . TOPICS_TABLE . " WHERE forum_id = 22 AND topic_calendar_time IS NOT NULL ORDER BY topic_calendar_time
Code: Alles auswählen
SELECT * FROM " . TOPICS_TABLE . " WHERE forum_id = 22 AND (topic_calendar_time - NOW() > 0) ORDER BY topic_calendar_time ASC LIMIT 0 , 5