eval uquestion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: chetscool@xxxxxxxxx
chetrane@xxxxxxxxxxxxxx

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux