Jump to content

timmylogue

New Members
  • Posts

    2
  • Joined

  • Last visited

timmylogue's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I'm trying to search for passed dates (30 days ago) in my database and then INSERT 'expired' value into a column called 'trial_date_ended'. The dates/passed dates are in a column field called "trial_date_started" Here an example of what I thought would work but doesn't work: $sql="INSERT INTO users (trial_date_ended) VALUES ('expired') < (NOW() - INTERVAL 30 DAY)"; Thanks for your help! Tim
×
×
  • 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.