Return to Snippet

Revision: 23514
at February 8, 2010 19:33 by browncardigan


Updated Code
$over_18 = date("Y-m-d", strtotime("- 18 years")) < $dob ? false : true;

Revision: 23513
at February 8, 2010 19:31 by browncardigan


Initial Code
$over_18 = date("Y-m-d", strtotime("- 18 years")) < $u['dob'] ? false : true;

Initial URL
http://bettesmidler.com/code/2009-07-16.htm

Initial Description


Initial Title
are you over 18..?

Initial Tags


Initial Language
PHP