Can anyone help me
I have a form and one of the fields is date. I call the database to show the date in the input type, so it shows e.g. 13th Oct 03. I have put this code to put it into that format
Code: Select all
<?php
$date = strtotime($r["date"]);
$date = date("dS M y", $date );
?>I am thinking when it updates the database, do i have to convert the date i entered to the database date format?? if it is , i am not sure how to do that
many thanks for your help