Re: [PHP] Inserting, storing, outputting dates and selections

2010-06-02 Thread Andre Polykanine
e - Original message - From: David Mehler To: php-general Date: Wednesday, June 2, 2010, 11:20:55 PM Subject: [PHP] Inserting, storing, outputting dates and selections Hello, I've got two questions which are probably fairly simple, my issue is i'm staring at this so long it's

Re: [PHP] Inserting, storing, outputting dates and selections

2010-06-02 Thread Shreyas
I can try to answer the second one but would wait for the PHP gurus to chime in. Can't you have Choice=1 with selected="true" by default? On the PHP end, you can get the value of whatever was selected. Regards, Shreyas On Thu, Jun 3, 2010 at 1:50 AM, David Mehler wrote: > Hello, > I've got two

[PHP] Inserting, storing, outputting dates and selections

2010-06-02 Thread David Mehler
Hello, I've got two questions which are probably fairly simple, my issue is i'm staring at this so long it's blurring together. I'm working on a form to insert data in to a mysql database. I've got a startdate and and enddate field in the database both of type DATE, i'm needing this as i'm