i have a table where i am storing my expiry date like thi:
| id | expire_date |
| 2 | 2019-09-19T15:34 |
and i want to query the table with todays date and time and onwards so far this is what i got;
date_default_timezone_set("Pacific/Fiji");
$now = date('Y-m-d\TH:i');
"SELECT * FROM `table` WHERE $now > `expire_date`"
but this does not work .
the is not a sql injection problem.