소스 검색

showing wrong date format to user

so they learn from their mistakes
development
mauirixxx 8 년 전
부모
커밋
efc6035e79
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      gw-create.php

+ 1
- 1
gw-create.php 파일 보기

@@ -17,7 +17,7 @@ if ($createnew === "1"){
$profid = mysqli_real_escape_string($con, $_POST['professionid']);
list ($y, $m, $d) = explode('-', $bdate);
if (!checkdate($y, $m, $d)) {
echo 'Date is invalid<BR />';
echo 'Date is invalid ' . $bdate . '<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>';


불러오는 중...
취소
저장