Menu
Hi
I want to sent a time value from avariable to a mysql database. the column in mysql wil be formated as time. I have the following information that is being based from a form that I want to enter into the mysql database. My question is how do I format t the values be for sending them
$startHr = $_POST[‘startHr’];
$startMin = $
$startAmPm = $_POST[‘startAmPm’];
I want to create a variable $startTime that I can use to pass the time to the database. I will write a If statement to convert the time to a military time.
any help is great