db_name.$table.'/schema.php')) { $thiz->ErrorMsg[0] = DB_ERRORMSG_102; } else { if (isset ($columns) && is_array ($columns)) { $thiz->columns = $columns; } isset ($sqlstring[1]) ? $search = $sqlstring[1] : $search = ''; include_once('read_table.php'); $rs = _read_table($thiz, $thiz->db_name.$table, array("id"), $search); if (is_array ($thiz->rowset)) { include_once('delete_table.php'); foreach ($thiz->rowset as $row) { if ($rs = _delete_table($thiz, $table, $row['id'])) { $thiz->aff_rows++; } else { $rs = false; } } } else { $thiz->aff_rows = 0; } $thiz->rowset = false; } if ($rs) { return true; } else { return false; } } ?>