Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.
I have a basic cms and would like to add categories and tags to each picture. The problem is im trying to work out how to tag muliple cats to each picture? Anyone know any good tuts on this, or even better how would I go about doing this?
Thanks!
edit: the categories need to be added dynamically and an array to checkboxes to inset muliple data, this is where im stuck also
I've never done this, but I'd think the easiest way would be make a "cloud" object that accepts objects of type "category". Each category could be a unique object that inherits the Category object and I guess those objects should probably have some reflective properties, etc. Give the Cloud object the ability to count the number of instances of each unique category and then create some view logic that translates those numbers into font sizes.
Again, never made a tag cloud before, that just seems like a painless way to do it. Stand by for more informed answers.