Question
PHP - date compared with today
Hi,
in a mysql-table I have a column (datatype date - 0000-00-00). It is
displayed as
<td><?php echo " ".date('d.m.Y',strtotime($row_rstermin['kaldatum']));
?></td>
I would like to insert a "passed" or something like that after the dates
which are passed. I've tried to work with "< now()" but without success.
What to do?
Regards
Carl
in a mysql-table I have a column (datatype date - 0000-00-00). It is
displayed as
<td><?php echo " ".date('d.m.Y',strtotime($row_rstermin['kaldatum']));
?></td>
I would like to insert a "passed" or something like that after the dates
which are passed. I've tried to work with "< now()" but without success.
What to do?
Regards
Carl
