nonexistence Posted August 25, 2009 Share Posted August 25, 2009 I am very new to PHP, so be gentle! So, I've been trying to figure out a way to make this work and I can not find it out. Is this possible to do? All help is appreciated in advance. <? $month=date('M'); $day=date('d'); echo "<span class=\"postdate\">$month <em>$date</em></span>"; ?> Quote Link to comment Share on other sites More sharing options...
Alex Posted August 25, 2009 Share Posted August 25, 2009 I see nothing wrong except that you're using $date in the string but you set $day, not $date. Quote Link to comment Share on other sites More sharing options...
nonexistence Posted August 25, 2009 Author Share Posted August 25, 2009 wow, thanks... im going to put my special olympian helmet on and try not to hurt myself. That was the fix... lol Appreciate the time. Quote Link to comment Share on other sites More sharing options...
Alex Posted August 25, 2009 Share Posted August 25, 2009 Np, just remember to press the "topic solved" button on the bottom left. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.