Re: mysql_fetch_array
| From: | Tom Rogers | Date: | Sat, 27 Mar 2004 02:32:45 +0000 |
| Subject: | Re: mysql_fetch_array | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-181599@lists.php.net to get a copy of this message | ||
Hi,
Saturday, March 27, 2004, 4:50:27 AM, you wrote:
CM> I have this query to select the date from my table...
CM> SELECT DATE_FORMAT(date1, '%W %M %Y') FROM table
CM> How do I know what name mysql_fetch_array assigned to the date_format ?
SELECT DATE_FORMAT(date1, '%W %M %Y') AS date_formatted FROM table
Then access it as date_formatted
--
regards,
Tom