Dear PHP community,
I would appreciate it if you could help me out with this little problem.
Is there a way I can do this?
I have a table in my database that lists certain variables which are changeable on other pages.
The table looks like this
Var_id
Var_name
Var_par
Var_val
Ok so the id is irrelevant, the name is just a small description.
I would like the var_par to be retrieved as the variable name so on the page
I want it to work as whatever the value is,
$variable = $value;
$variable (the word variable is retreaved from var_par)
And
$value is retreaved from var_val.
I hope this all makes sense.