Re: About "as" in a mysql select
| From: | Aaron Abelard | Date: | Thu, 24 Aug 2000 15:08:40 +0000 |
| Subject: | Re: About "as" in a mysql select | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-13438@lists.php.net to get a copy of this message | ||
Quoting William S Poarch (scott@youcanspeak.com):
> I start with
>
> $result = mysql_query("select *,date_format(anniversary_date, '%W %M %Y') as
> fdate from individual_info where username = '$username'");
>
> How do I use fdate in PHP?
>
$individual_info_data = mysql_fetch_array($result);
echo $individual_info_data["fdate"];
---
aaron