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. Rane
Location: India
Contact: +91-9986057255
other ID: [EMAIL PROTECTED]
[EMAIL PROTECTED]

Reply via email to