LiamProductions Posted August 11, 2007 Share Posted August 11, 2007 Would it go something like this <title>Title <?php date('Y') ;?> </title> to get the year in the title or isnt it possible? Link to comment https://forums.phpfreaks.com/topic/64417-solved-can-you-put-dates-in-title/ Share on other sites More sharing options...
php_tom Posted August 11, 2007 Share Posted August 11, 2007 You can do it, but you need to modify your code a bit -- <title>Title <?php echo date('Y') ;?> </title> Link to comment https://forums.phpfreaks.com/topic/64417-solved-can-you-put-dates-in-title/#findComment-321153 Share on other sites More sharing options...
LiamProductions Posted August 11, 2007 Author Share Posted August 11, 2007 Thanks I was wondering why it didnt work how did i forget the echo Link to comment https://forums.phpfreaks.com/topic/64417-solved-can-you-put-dates-in-title/#findComment-321158 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.