Code: Select all
/**
* Day = 1-31
* Month = 1-12
* Year = 2005-whenever
*/
$day = $_POST["day"];
$month = $_POST["month"];
$year = $_POST["year"];Also is there a simple way to add an integer amount of year (1, 2, 3... etc) to this date? For example if I added 1 to 1 Jan 2006 I'd get 1 Jan 2007.