Re: date format from a database date field
| From: | Daniel Brown | Date: | Wed, 23 May 2007 17:23:47 +0000 |
| Subject: | Re: date format from a database date field | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-255441@lists.php.net to get a copy of this message | ||
On 5/21/07, Mike Ryan <miker@mail.manti.com> wrote:
Sorry I am a bit of a newbie with php and hope this has not been aswered a million times, but here it goes I have a date base with a couple of date fields when I pull up and display the fields it show 2007-05-21. the question I have is how to convert the field to 05-21-2007? Currently the command I have is print $row['open']; any help would be apreciative. thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpFor starters, try to keep all similar requests in one single email.... otherwise you look like your spamming the hell out of the list. -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107