i am not quite sure what you are attempting to accomplish here but you can simplify $rs = mysql_fetch_array($rs); $this->rs = $rs; with just $this->rs = mysql_fetch_array() -- Joseph Crawford Jr. Codebowl Solutions codebowl at gmail.com