Multiple file status change/delete

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Darkmatter
Posts: 23
Joined: Sat 30. Jul 2005, 17:27

Multiple file status change/delete

Post 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!
Pappnase

Post by Pappnase »

hello

i would say via phpmyadmin :-)
Darkmatter
Posts: 23
Joined: Sat 30. Jul 2005, 17:27

Post 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.
Darkmatter
Posts: 23
Joined: Sat 30. Jul 2005, 17:27

Post by Darkmatter »

OK nevermind I figured it out:

update phpwcms_file where f_aktiv=0 f_aktiv=1

Works great!
Post Reply