I would like to query regulation which it's date reminder is >= today and it's date ended is >=today.
So I came with this query:
$query="select * from t_regulation where dt_reminder >= '$today' and dt_ended ='$today'"
It works on postgerSQL but not on mysql :( I dont why It couldn't work on mySQL
Please help me to revise this query