@Wuhtzu: i failed to find a solution using variable variable
@MadTechie: i know that eval's dangerous but it seems i have to take what i have.
the fact is..well, im taking codes from a freak who did not use template to support multi-language, instead he uses things like
echo $TEXT["general-info"];
----------------------
en.php:
$TEXT["general-info"] = "Hello world.";
----------------------
fr.php:
$TEXT["general-info"] = "Bonjour le monde.";
that works at first...until he left and the boss decided to put $TEXT["general-info"] into a db. now i get the whole damned "template" from database and of course, it writes $TEXT["general-info"] instead of either Hello World or Bonjour.
pretty dumb story i know..anyway, thank you guys very much