I need using php to give out the date of tomorrow in the format yyyy-mm-dd I googled and found this expression <?php $tomorrow = mktime(0, 0, 0, date("m") , date("d")+1, date("Y")); ?> <?php $tomorrow = mktime(0, 0, 0, date("m") , date("d")+1, date("Y")); ?> it is of course the wrong format, but it does not work, an error is issued
syntax error unexpected t_string, expecting
,or)
Screenshot code:
