Hallo nochmal
ich habe jetzt (weil nochmal ein Sonderfall auftrat) die Abfrage überarbeitet. So funktioniert es genau nach meinen Vorstellungen.
PHP-Code:
(SELECT * FROM tabelle WHERE startdatum <= UNIX_TIMESTAMP(NOW()) ORDER BY startdatum DESC LIMIT 1)
UNION ALL
(SELECT * FROM tabelle WHERE startdatum > UNIX_TIMESTAMP(NOW())) ODER BY startdatum ASC
* Applaus, Applaus *
DANKE für eure Hilfe