Menu
Hi ppl
When using CURDATE function in the context that i am below is it possible to set the format that the date is displayed or is this default no able to be changed??
[code=php]if (“SUBMIT” == $_POST[‘submitpcr’]) {
$sql = “INSERT INTO pcr SET ” .
“PCRID='”.$_POST[‘pcrid’].”‘, ” .
“PCRTitle='”.$_POST[‘pcrtitle’].”‘, ” .
“RaisedBy='”.$_POST[‘raisedby’].”‘, ” .
“TaskDesc='”.$_POST[‘taskdesc’].”‘, ” .
“Status='”.$_POST[‘status’].”‘, ” .
“NextStep='”.$_POST[‘nextstep’].”‘, ” .
“Engineer='”.$_POST[‘engineer’].”‘, ” .
“PCRDate=CURDATE()”;