I found the fonction constant that return the value of a constant if you
passe the name of the constant in parameter.
so it would now be
-
$replace_by[] = constant$out[2][$i]);
-
It should also be faster then eval
Thanks for the help
Yann Larrivee
On Thu, 2003-06-05 at 00:21, Ernest
At 13:46 04.06.2003, Yann Larrivee said:
[snip]
>My probleme is that i need to return the value of my define and not its
>name. My eval doesnt seem to work.
>
>Any body as a sugestion , or a better way to do this without passing by
>eval .
>
>$re
Hi, i have a template system where the user can define some multilangual
defines, identified by {Label[My_define_name]} in the template.
Its one of the way i figured to go around the probleme of multilangual
websites.
Ok the function below parse the template and gets all the
{Lang[My_deifne]} and
3 matches
Mail list logo