Question
php format date
I'm retrieving a date record from my mysql table row.
However, I'd like to reuse this data and show by sometimes showing
just the month and day of the week (apr wed); and at other times
just the month and date (apr 23).
Here's the code I'm using, which obviously isn't working.
<?php echo date($row_rsGigs['date_gig'], 'M D'); ?>
Any help would be appreciated.
Here's the code I'm using, which obviously isn't working.
<?php echo date($row_rsGigs['date_gig'], 'M D'); ?>
Any help would be appreciated.
