Re: Insert Data Into Mysql

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/10/2014 4:53 PM, Robert wrote:

I have a date field on an html form that users may leave blank.  If they
do leave it blank I want to write the date 01/01/1901 into the mysql
table. How can I accomplish this and where in my .php script file should
I put the code?

Thank You,
Robert
flahurr@xxxxxxxxxxx
Why would you want to put any value in there? Leave it blank. Are you editing the input to prevent someone from actually entering that date?

Where to put this in your php script? That's up to you certainly, but I would make sure it was done before I posted my record.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux