I have some cookies set with the names;
poll-1, poll-2, poll-3, etc.
I want to access the variable poll-3 by constructing the variable name using "$poll-" . "3"
Is this possible or does a variable name have to be hard coded?
Thanks for any help,
Ben
$x = "some_var_name"; $$x = "A value"; echo $$x;