i work with php and mysql on the os windows
i want to using function strtotime for compute diffrences between
two date , one with format date("Y-F-d") and another date is current time
and query is
Expand|Select|Wrap|Line Numbers
- $sql_select="select * from $table_name where confirm=1 and ";
- $sql_select.=strtotime."(".expire_date_show.") - ".time().">=0";
- //expire_date_show is the column in database with format date("Y-F-d")
is greater than current time
please help me that how write this query to solve this problem