Im fairly new to PHP, but im pretty certain this is probably an easy problem. If it is then I apologise in Advance.

I have a date saved in a database in the 2007-02-07 Format

What I want to do is retrieve this from the database, but somehow break it up so that each part of the date becomes its own single variable.

For example...

$Year = "2007";
$Month = "02";
$Day = "07";

I hope I have made this clear. I would really appreciate some help.