NYCPHP Meetup

NYPHP.org

[nycphp-talk] need some form help...

Aaron Fischer agfische at email.smith.edu
Tue May 27 08:20:50 EDT 2003


For date, In your php script that handles the form, you can do 
something like:

$date = date("Y-m-d");

Then you can insert $date along with your other form variables into the 
mysql table.

Aaron


>
>> Another point of confusion... one of the fields in the survey form
>> is 'survey_date'.
>>
>> I have field of type 'date' in my 'specimen' table... I'd like to have
>> the 'survey_date' be handled automagically for the surveyor by PHP and
>> MySQL..
>> any suggestions on how best to accomplish that?




More information about the talk mailing list