⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Delete row/rows after X time ?



tlc033

tlc033
  • profile picture
  • Member

Posted 20 December 2012 - 04:34 AM

Hi. It is posible to delete data from tabel (1 row or many rows) from MySQL after determinated time.

For. ex.
I inser row data at 12.12.2012 and i need to auto delete row after 1 day for ex 13.12.2012 row well be deleted.

Any sugestion ? THX

victor

victor
  • profile picture
  • Member

Posted 20 December 2012 - 08:10 AM

you can use cron. or you can look how works the session library