Autodelete?
From: Ganon (evillordganon_at_hotmail.com)
Date: 03/25/04
- Next message: Geoff Berrow: "Re: Help! PHP/SQL Brain freeze"
- Previous message: Anthony L. Plunkett: "Re: PHP IDE or PHP editor"
- Next in thread: Jay Moore: "Re: Autodelete?"
- Reply: Jay Moore: "Re: Autodelete?"
- Reply: Chung Leong: "Re: Autodelete?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 25 Mar 2004 15:52:09 -0000
I have a database where I'm storing some user information, but I only want
the entries to remain in the database for a certain amount of time (say 72
hours). I have a datetime field in my database so I can manually tell, but
obviously that will be a real headache.
I thought maybe I could do some php in a private script to search through
the database and delete rows where time has expired, but not sure really how
that would work.
Also, I doubt it... but is there are way to set up mySQL entries to
autodelete after a certain time?
Hope you guys can help with some advice.
- Next message: Geoff Berrow: "Re: Help! PHP/SQL Brain freeze"
- Previous message: Anthony L. Plunkett: "Re: PHP IDE or PHP editor"
- Next in thread: Jay Moore: "Re: Autodelete?"
- Reply: Jay Moore: "Re: Autodelete?"
- Reply: Chung Leong: "Re: Autodelete?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|