Page 1 of 1

Multiple file status change/delete

Posted: Mon 2. Jan 2006, 21:51
by Darkmatter
Hello!

Is there away (hack) to delete and/or change the status of many files at once (i.e. public/active, etc)????

Thanks!

Posted: Wed 11. Jan 2006, 23:03
by Pappnase
hello

i would say via phpmyadmin :-)

Posted: Fri 10. Mar 2006, 20:22
by Darkmatter
I've searched hi and low for a function that will allow me to change all entries' (in the phpwcms_file table) field value at the same time in phpmyadmin but no luck. Sure you can change them one by one, but I have hundreds.

Anyone know how to do this?

Thanks in advance.

Posted: Sat 11. Mar 2006, 01:24
by Darkmatter
OK nevermind I figured it out:

update phpwcms_file where f_aktiv=0 f_aktiv=1

Works great!