Is it possible to write a SQL statement with an OR statement? I want to return all records from the states of OK and TX.
Example SQL statements in private message and page is attached.
Example SQL statements in private message and page is attached.
SELECT * FROM tbl_posts WHERE post_type = 'Barrel Race' AND displaylevel = 'Public' AND eventdate <= DATE_ADD(CURDATE(), INTERVAL 7 DAY) AND enddate >= CURDATE() AND (event_state = 'OK' or event_state = 'TX') ORDER BY eventdate, event_state, event_city ASC
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.