Results 1 to 3 of 3

Thread: [Resolved] CURDATE() not working

  1. #1

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256

    [Resolved] CURDATE() not working

    Code:
    mysql_query("DELETE FROM schedule WHERE iwhen < CURDATE()") or die(mysql_error());
    This USED to work, and now it doesn't. Does anybody see anything wrong with it?
    Last edited by The Hobo; Mar 10th, 2003 at 06:05 PM.
    My evil laugh has a squeak in it.

    kristopherwilson.com

  2. #2
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    If it doesn't work, just use the date function from php?

    It might be a mysql side error...

  3. #3

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Actually, I found out it was a server problem. So it's working again.
    My evil laugh has a squeak in it.

    kristopherwilson.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width