From: "Adam Voigt" <[EMAIL PROTECTED]> > On Fri, 2004-03-26 at 13:50, Chris Mach wrote: > > > > I have this query to select the date from my table... > > > > SELECT DATE_FORMAT(date1, '%W %M %Y') FROM table > > > > How do I know what name mysql_fetch_array assigned to the date_format ? > > It would be position 0 in the array, or in your query after the date > format function you could put "AS blah" and then it would come out as > blah.
Or you could use $row['DATE_FORMAT(date1, \'%W %M %Y\')'], but... umm.. yeah.... ;) ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php