Reply to Date ?

Your name:

Reply:


Posted by Jeff on 10/10/60 11:21

Hello,
I am trying to show events listed in a database table named
"LoungeEvents" for nightclub engagements. I want to display all events from
today forward. ignoring what happened yesterday. Event date is identified by
the field "EventDate". I have the sql I am using below. How do I filter the
sql to show only items in the present or future? I am formatting the date
for display. I am programming the pages with PHP.




"SELECT Event, EventComment, DATE_FORMAT(EventDate, '%W - %c.%d' ) AS
EventDate FROM LoungeEvents ORDER BY EventDate ASC"




Thanks in advance, Jeff

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация