Answer by 웃웃웃웃웃 for DATE_FORMAT() doesn't display anything in PHP
I didnt see a variable $row in your code.Also you have to keep the keys of the array in quotes. Probably you need to do the following$getMe = "SELECT ID, NewsType, Content, DATE_FORMAT(DateTime,'%a, %e...
View ArticleDATE_FORMAT() doesn't display anything in PHP
My code is... $getMe = "SELECT ID, NewsType, Content, DATE_FORMAT(DateTime,'%a, %e %b %Y %T') as formatted_date FROM tblnews ORDER BY DateTime DESC LIMIT 15"; $articles = mysql_query($getMe) or...
View Article
More Pages to Explore .....