Dynamic variable names and values

Dynamic variable names and values

Hi,

I have my variables in my database fields var_name and var_value

is it possible  when doing $.each to create the variables and assign its values, something like this:

  1. --------
  2. --------
  3. --------
  4. my.[[[var_name]]] = [[[var_value]]]
  5. --------
  6. --------
  7. --------


Thanks,