Delete old comments Delete old comments
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Delete old comments

Started by ian ditch, October 01, 2006, 01:16:43 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ian ditch

My gallery has been going for a few years now and i would like to delete any comments over a year old.

Is there any way that i could delete these comments quickly, with-out doing it manually?

Sami

Yes you can delete them by phpmyadmin or any other mysql manager that you have just go to your database and run something like this:

DELETE FROM XXX_comments where msg_date < '2005-01-01'

You should change XXX with your table prefix
‍I don't answer to PM with support question
Please post your issue to related board