Lovely drop down selects
After a load of fixing and adding to the admin section, I thought I should finally do something about the main add film form and it's update. The admin section was never supposed to be a final build, in fact if you look back I only built it quickly to allow me to add films into the db as I was building the site and then it grew arms and legs and became THE admin section. As a result there are many rough edges to this and it is not really ui friendly in some ways. I have been addressing some of those things recently but today I just bite the bullet and created a few php functions to create select drop down boxes for the forms instead of relying on me to input the correct range variables. So now I have some fancy drop downs that say yes and no when it comes to if a a film is a b movie or if I own it, and we have drop downs as well for the rating and rewatchability along with a couple more.
I know this is not anything special but it is small things like this that when added up together make the overall system much better. only a 30 min job to code, build then test and all is good and working.