function getBacktaxTDList($tdID) { $records = new BacktaxTDRecords(); if ($records->selectRecords($tdID)) { if (!($domDoc = $records->getDomDocument())) { return false; } else { $xmlStr = $domDoc->dump_mem(true); return $xmlStr; } } else { return false; } }