You can use variable variables
...
You can make more complicated statements with this technique.

$var1 = 'apple';
${ 'Fruit_' . $var1 } = 'organic';
echo $Fruit_apple; // here you are

thank you all 3, for your help!
That was just what I wanted!

-Govinda

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to