How to get EVENT based on startday, using BETWEEN

found the solution <3

Used WHERE ‘$startday’ BETWEEN dstart AND dend

plus : OR dstart >= ‘$startday’

SELECT * FROM wp_posts, wp_mec_dates AS mecd, wp_icl_translations WHERE wp_posts.ID = mecd.post_id and post_status="publish" AND wp_icl_translations.language_code="$lang" AND ('$startday' BETWEEN dstart AND dend OR dstart >= '$startday') AND  wp_posts.ID = wp_icl_translations.element_id ORDER BY dstart LIMIT 0,6