RE: [PHP-DB] date formatting... help
| From: | jeffrey_n_Dyke at Keane dot com | Date: | Fri, 16 May 2003 13:27:47 +0000 |
| Subject: | RE: [PHP-DB] date formatting... help | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-27817@lists.php.net to get a copy of this message | ||
i think you're use of " instead of ' is what is giving you errors.
hth
jeff
"Paul Ihrig"
<pihrig@columb To: <php-db@lists.php.net>
us.rr.com> cc:
Subject: RE: [PHP-DB] date formatting... help
05/16/2003
09:22 AM
Jeffery
like this?
$query_rsViewNews = "SELECT newsId, newsAuthor, newsTitle,
DATE_FORMAT("newsDate", "%M %e, %Y") AS Fdate, newsDate, newsDescription
FROM news ORDER BY newsDate DESC";
which throughs errors..
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php