I think I understand your question. Perhaps what you want is not a variable
variable -- but a variable (determined from the context).
Variables always vary depending on the situation as opposed to a constant
which - uhh -- stays constant. Combine the variable and the constant in a
new variable
Mark Cain wrote:
I think I understand your question. Perhaps what you want is not a variable
variable -- but a variable (determined from the context).
Variables always vary depending on the situation as opposed to a constant
which - uhh -- stays constant. Combine the variable and the constant in
Not entirely sure what you are wanting, but if you want a variable
variable, just use a double $ sign. eg:
$fred = 'var2';
$var2 = 'value of var 2';
echo $$fred;
will echo 'value of var 2'
At 10:14 AM 15/03/2005, you wrote:
Hi, I'm trying to make a script but have a problem ...
How could I do