This one has me stumped.
In my database, I have a column named varname and the value is lets say '$pay_amount'.
This is a variable customers will setup on our site. 'varname' might be different for each user.
Now, we have a page the customer goes to that passes a value such as 5.95 and this variable name is the one defined in our database (varname) '$pay_amount'.
I need to say:
$varname = 5.95;
But, obviously $varname is going to = "$pay_amount" (bacause this value is setup in the database and $varname will be reassigned when we query it. It goes from 5.95 (passed into the page) then is reassigned to "pay_amount" when I query the database to get the name to look for.
Hope this makes sense, can anyone help?