From 556e6de6cdf872b40d0167e6e1c0a3924daa2c4f Mon Sep 17 00:00:00 2001 From: mauirixxx Date: Thu, 25 May 2017 16:07:09 -1000 Subject: [PATCH] it worked! now to try a real date .... --- gw-create.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gw-create.php b/gw-create.php index c16f22b..129434c 100644 --- a/gw-create.php +++ b/gw-create.php @@ -17,7 +17,8 @@ if ($createnew === "1"){ $profid = mysqli_real_escape_string($con, $_POST['professionid']); list ($y, $m, $d) = explode('-', $bdate); if (!checkdate($y, $m, $d)) { - echo 'Date format is YYYY-MM-DD / 2005-04-28'; + echo 'Date is invalid
'; + echo 'Date format is YYYY-MM-DD / 2005-04-28
'; echo 'Please click HERE to try again'; echo '

Return to home.'; exit();