the data base expects the date to be in yyyy-mm-dd format.
add the following code at line 1 of the insert page to convert the date to the format expected by the MySQL database:
<?php
if($_SERVER['REQUEST_METHOD'] == "POST") {
if(isset($_POST["pe_date"])) $_POST["pe_date"] = date("Y-m-d", strtotime($_POST["pe_date"]));
}
}
?>