Hello, can anyone tell me why this code will not work> function setPart($part, $val, $append) { if(($part) && ($val)) { if($append) $this->_$part .= $val; else $this->_$part = $val; } } i am also wanting to check that $part is a valid class property yet i am not sure how ;( Joe Crawford Jr.