doing galleries from MySQL isn't smart anyway....why would you
do that....for every hit you will have queries.....goodluckonce
your site goes big!
If you are going to store the galleries and all other info in
database then you better generate the index.html from a template once per day.
That way you have your stuff organised and easy for the admin
and your site fast eating low resources even if it's busy...
DynaMite
