Jump to content

events calendar


piet

Recommended Posts

ok, a bit more info maybe?

my "event_date" field is formatted back to front in the db. "14.01.2008" instead of "2008.01.14" so the result of this script output is all scrabled.

$do=mysql_query ("SELECT id,venue_name,event_date FROM calendar_events WHERE status='confirmed'and event_type='gig' ORDER by event_date DESC");v

 

is there a way i can output this info corectly?

 

this is a very large table so changing all the dates to the corect format is a big task, also i have other scripts reading from that table and changing the date format will mess with those scripts.

Link to comment
https://forums.phpfreaks.com/topic/85922-events-calendar/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.