Menu
inside MySQL have a table w/ fields of ‘id’, ‘module’, ‘variableName’, ‘dataValue’.
Let’s say the gallery.php is the current page. At the begging I would like to pull all related variables in from MySQL, create variables from the ‘variableName’, and give the var it’s corrisponding value.
beggining code….
while(…sql conditions…)
$results=$db->Execute(“select id, variableName, dataValue from {$siteid}_Var where module=’gallery’ order by id”);
…now how can I create the variables?