if($db->readQuery("INSERT INTO `test` (`testID` ,`title` ,`testDes` ,`creditPerTure` ,`negPerFalse` ,`total` ,`neededCredit` ,`testPassword` ,`startDate` ,`endDate` ,`time` ,`testNum`) VALUES (NULL , '$title', '$des', '$cPT', '$nPF', '$total', '$need', '$testpass', '$sdate', '$edate', '$time', '$num');"))
'$sdate' and '$edate', are date and after I insert them into database I get 0000-00-00 (my date format is yyyy-dd-mm)


Sign In
Create Account


Back to top









