On Wed, Mar 19, 2008 at 3:22 PM, chetan rane <[EMAIL PROTECTED]> wrote:
> HI All
>
> I have the follwoing code
>
> function cleanufx($str){
> return ucase($str);
> }
>
> $value="xyz";
> $var ="ufx";
> $fn="clean$var($value);
> $val =eval("$fn;");
> echo $val;
>
> can anyo
HI All
I have the follwoing code
function cleanufx($str){
return ucase($str);
}
$value="xyz";
$var ="ufx";
$fn="clean$var($value);
$val =eval("$fn;");
echo $val;
can anyone tell me what is wrong in this as the eval is returning 0 (false);
--
Have A pleasant Day
Chetan. D. Ra
2 matches
Mail list logo