Quantcast
Channel: DATE_FORMAT() doesn't display anything in PHP - Stack Overflow
Browsing latest articles
Browse All 2 View Live

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 Article



DATE_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
Browsing latest articles
Browse All 2 View Live




Latest Images