
January 22nd, 2000, 07:22 AM
|
|
Apprentice Deity
|
|
Join Date: Jul 1999
Location: Niagara Falls (On the wrong side of the gorge)
Posts: 3,237

Time spent in forums: 4 m 8 sec
Reputation Power: 17
|
|
|
I'm not sure if it's a typo, but you don't have quotes around your assignment of $date_action:
$date_action = "select DATE_FORMAT('1997-10-04 22:23:00', '%W %M %Y')";
Also, after mysql_query(), $date_name would contain the result index, not the result. You still need to extract the data from the results. I.E.:
$result=mysql_query($date_action);
list($date_name)=mysql_fetch_row($result);
echo $date_name;
HTH
|