浏览代码

it worked!

now to try a real date ....
development
mauirixxx 8 年前
父节点
当前提交
556e6de6cd
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      gw-create.php

+ 2
- 1
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<BR />';
echo 'Date format is YYYY-MM-DD / 2005-04-28<BR />';
echo 'Please click <A HREF="gw-create.php">HERE</A> to try again';
echo '<BR /><BR />Return to <A HREF="gw-index.php">home</A>.</CENTER></BODY></HTML>';
exit();


正在加载...
取消
保存