Jump to content

[SOLVED] Date into Database


yddib

Recommended Posts

i like to display the date to user before its inserted in case they want to backdate something

and use the code below in the value of  a form

<?php
$today = date("F j, Y");
PRINT "$today";
?>

 

but this might help too

http://www.tizag.com/mysqlTutorial/mysql-date.php

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.