Madproject

Always know where your towel is.

Category: Programming

Generating HTML select with PHP foreach

I’m currently programming the update part of a simple CRUD user interface. This form loads up data relating to a product we’ve previously entered and lets you update its attributes. One of the fields required a dropdown box with a selection of available options with the current selected options being the first default selection. While I know this isn’t rocket…

Photostore Purge Plugin

I recently had to purge about 100’000 photos from a Photostore site and doing it using the manager control panel is very time consuming. I developed a little plugin that will delete all photos not associated to a category and clean up DB entries. Worked great for me but use at your own risk.