Re: [PHP] date format from a database date field
- From: parasane@xxxxxxxxx ("Daniel Brown")
- Date: Wed, 23 May 2007 13:23:47 -0400
On 5/21/07, Mike Ryan <miker@xxxxxxxxxxxxxx> 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.php
For 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
- Prev by Date: Re: [PHP] zend framework
- Next by Date: Re: [PHP] problems in WHERE statment
- Previous by thread: Re: [PHP] problems in WHERE statment
- Next by thread: Swinging Hammers (was Re: Form Validation Issues)
- Index(es):
Relevant Pages
|