Coding Cheatsheets - Learn web development code and tutorials for Software developers which will helps you in project. Get help on JavaScript, PHP, XML, and more.

Post Page Advertisement [Top]

<?php $date = $_GET['card_expiry_date'];
$date=explode('/',$date);

if($date[0]<=12  && $date[1]>(date('Y')-1) ){
echo "true";
} else {
echo 'false';
}
?>

1 comment:

Bottom Ad [Post Page]