Ver código fonte

it worked!

now to try a real date ....
development
mauirixxx 8 anos atrás
pai
commit
556e6de6cd
1 arquivos alterados com 2 adições e 1 exclusões
  1. +2
    -1
      gw-create.php

+ 2
- 1
gw-create.php Ver arquivo

@@ -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();


Carregando…
Cancelar
Salvar