I am using a now() code to enter just a date into the database. The date appears as Year/Month/Day (yyyy/mm/dd).
In my PHP code I have been using:
$news_date=$row['news_date'];
to recall the date on my site, I was wondering, instead of the date all showing at once, is there a way to add a separate value for day, month and year? So I could recall 'day' separate and so forth? Obviously without changing the database to have 3 different inputs, there must be an easier way? I am fairly new to PHP and MySQL so if someone could help me out with an example that would be handy! Thanks.