xyn Posted February 19, 2007 Share Posted February 19, 2007 Hii, peeps. I haven't stumbled into this problem for months, and now I don't know how to get around it, Basically i'm taking CURRENT DATE and using strtotime() and taking away 13 YEARS i am then impploding the date of birth using the same date method but i keep geeting "array" return.. My code //CheckAge $today = date("d/m/Y"); $birth = date("d/m/Y", strtotime("$today - 13 Years")); $dob = array(); $dob[] = $_POST['day']; $dob[] = $_POST['month']; $dob[] = $_POST['year']; $dateob = implode("/", $dob[]); echo($dob."<br>".$dateob); exit; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.