$xml = "<?xml version='1.0' standalone='yes'?>"; $xml = $xml."<price>£".$total."</price>"; header('Content-Type: text/xml'); echo utf8_encode($xml);