https://www.icyphoenix.com/viewtopic.php?f=17&t=9374&p=59993#p59993
-----------------------------------
mort
Sun 11 Jan, 2015 07:33

Re: What To Cache Or Not?
-----------------------------------
And I'm being driven to complete bloody despair over something else I'm trying to do and I can't see the forest for the trees  :x 

Do you know how to create a workable checkbox array to delete selected items from the Db?

Because I can't seem to throw enough arguments into the DELETE FROM - WHERE so that it doesn't delete every box that's NOT checked... ?  :twisted: 

They'll delete one by one if the column is set to 1 but when I deactivate with another checkbox array/script and set the column as 0 where the theme is disabled it will either remove all but one of the deactivated themes?  :censored: 

Here's the script...

[spoiler]

[b]Mmmmm! I fixed it - Now maybe I can look at the caching...[/b]  :lol:  :twisted:  :mrgreen: 

[/spoiler]


