<?php $post = 10/12/09; // Hack. Set $post so that the_date() works. ?>
i have this line of code in my script. what do i do next to make this date work? it seems a little bit unclear to me what to do to get it to work?
thanks
<?php $post = 10/12/09; // Hack. Set $post so that the_date() works. ?>
i have this line of code in my script. what do i do next to make this date work? it seems a little bit unclear to me what to do to get it to work?
thanks
Are you trying to set the current date - or a date from a database?
See: http://php.net/manual/en/function.date.php for information on the date php function.
yeah, set the current date not from a database