hi guys
i am having a small problem
i have a class for members
it has the following variables
var $member_fullname;
var $member_email;
var $member_signature;
its values are initialized from a db
not what i need is as follows
this is function of the class
function return_value($value) {
$return_value = "$this->member_$value";
eval("\$return_value = \"$return_value\";");
return $return_value;
}
i will be passing a variable to the above function
ex: return_value("fullname");
i should get the value of $this->member_fullname
the above function doesnt seem to work
can you guys please help me
thanks