Welcome Guest, Not a member yet? Register   Sign In
Best practice for loading config items from DB
#3

[eluser]George36[/eluser]
Thanks for the reply Joshua,

I had failed to spot the method to dynamically set a config item. I think looping through the column names of my config table and using these as the $config array index names provides a very neat and scalable way of managing this particular problem.

Thanks for pointing me in the right direction!

George


Messages In This Thread
Best practice for loading config items from DB - by El Forum - 02-01-2010, 08:38 AM
Best practice for loading config items from DB - by El Forum - 02-01-2010, 08:50 AM
Best practice for loading config items from DB - by El Forum - 02-01-2010, 09:00 AM
Best practice for loading config items from DB - by El Forum - 02-01-2010, 10:30 AM



Theme © iAndrew 2016 - Forum software by © MyBB