![]() |
| |||
| I have just tried to use the date_format in my query and it doesn't return anything? Please can anyone see any obvious errors? $sql="SELECT DATE_FORMAT(post_date,'%W %b %Y'),post_title FROM mytable WHERE MONTH(post_date) = 7 ORDER BY event_start"; post_date and post_tile are fields in the db. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |