setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $result = $db->query("SELECT mp3 FROM calls WHERE id=$id LIMIT 1"); $row = $result->fetch(); header('Content-Type: text/xml'); ?>