WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY name, startdt DESC' at line 1]
SELECT * FROM listing WHERE (startdt <= '2018-07-21 07:33:27' and enddt > '2018-07-21 07:33:27') AND categoryid = ORDER BY name, startdt DESC

Dungeon Mastering - Dungeons and Dragons blog, DM tips, D&D books, RPG fun
Dungeon Mastering

DM Tools - CREATE YOUR FREE ACCOUNT       About Us       Contact Us       Advertise                   Subscribe to Dungeon MasteringSubscribe

List Your Product for FREE!
My Purchased Products