0
Can someone help with a php code for birthday validation so that student below 20 year's wouldn't be able to register
PHP Code for Form validation
2 Answers
+ 1
<input type = 'number' name ='d'>
<?php
$d=$_POST['d'];
if($d<2000)
echo 'above 20';
?>