Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.