M'y script's variables are currently stored in a php File as an array. I want to store them in mysql database, however I don't if I should store them as rows or columns. If I use columns it would be easier to retrieve them (only one query), but if I have too many variables the page would have to scroll horizontally and I think it would be hard to find data in phpmyAdmin. If I use rows then how would I retrieve all of them using a single query and store them in the $config array?
Any ideas or suggestions?
.inifile for that. Reading and rewriting them is as simple. Or did you just want to refer them to phpMyAdmin to avoid the coding overhead of an admin panel for a config settings file? (Shameless plug: milki.include-once.org/genericplugins/genconfig.html)