note 37431 added to ref.datetime

From: Date: Fri, 14 Nov 2003 16:01:26 +0000
Subject: note 37431 added to ref.datetime
Groups: php.notes 
Request: Send a blank email to php-notes+get-60389@lists.php.net to get a copy of this message
Can someone please help me? I am new to PHP and MYSQL. I have a field in my MYSQL database for a date. I have the field set to date format (0000-00-00). I have a form for editing information on photographs. I would like to automatically fill the 'month' 'day' 'year' fields in the form with whatever was previously stored in mysql. How can I get the year, month, and day from MYSQL and store each variable seperatly in a php variable? I appreciate any suggestions. ---- Manual Page -- http://www.php.net/manual/en/ref.datetime.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+37431 Delete -- http://master.php.net/manage/user-notes.php?action=delete+37431&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+37431&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#60389) next »