Modified: $ms
\n"); } // findfirst($whereclause); // findnext($whereclause); */ function fields_name($fo) { return mysql_field_name($this->l_res,intval($fo)); } function fields_type($fo) { $ft=mysql_field_type($this->l_res, intval($fo)); //we really should translate this type value from MySQL native value to //one recognizable to DAO users (i.e. convert VARCHAR codes to "char" codes, and TEXT/BLOB codes to "Memo" codes return $ft; } function close() { mysql_free_result($this->l_res); $this->l_sql=""; $this->eof=true; $this->bof=true; $this->l_currow=NULL; $this->l_currownum=0; $this->l_numrows=0; $this->recordcount=0; $this->nomatch=true; } } ?> Example : ======== //remember to set up the global constants in dao.php3 before using... include("dao.php3"); $db=opendatabase("yourdatabasename"); $rs1=$db->openrecordset("select * from users"); echo($rs1->recordcount." records were returned.\n"); if ($rs1->recordcount>0) { echo("