Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $curDate = date('Y-m-d', time());
- $curDate = explode('-', $curDate);
- //validate if the humanoid is build yet
- if(($dobA[0] > $curDate[0]) && ($dobA[1] > $curDate[1]) && ($dobA[2] > $curDate[2])){
- $errors['DoB Error']['#3'] = 'We currently do not accept humans that aren\'t born yet!';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement