<?
$value = "1";
$page = "value";
$secure = "$$page";
if ($secure == 1) {
echo "it works";
}
else{
echo "it didn't work";
}
?>
I have never really though about having to do this before. The above example does work. I just cannot believe you can turn a value into a varible that easily.
There has got to be something wrong with doing it that way. Anybody know if there is a better way that I should be using or is that the way it is done.