Jump to content


how to remove all mysql entry from less than?

  • Please log in to reply
1 reply to this topic

#1 dragonusthei

  • Members
  • PipPipPip
  • Advanced Member
  • 46 posts

Posted 27 September 2006 - 08:01 PM


How would i go about removing all mysql entrys that where entered into the database more than 24 hours ago?

any example code or databases VERY appriciated.

#2 Barand

  • Moderators
  • Sen . ( ile || sei )
  • 18,021 posts

Posted 27 September 2006 - 08:20 PM

Firstly, how are you storing the date/time in the records in your table?
If you are still using mysql_ functions, STOP! Use mysqli_ or PDO. The longer you leave it the more you will have to rewrite.

Donations gratefully received


|baaGrid| easy data tables - and more
|baaChart| easy line, column and pie charts

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users