Guys i figured this out, for some odd reason it doesnt like the fact that i had $this->errno and $this->errstr set with the __set method, it works now but still confuses me as to why i cannot use the __set method for this. -- Joseph Crawford Jr. Codebowl Solutions codebowl at gmail.com 802-558-5247