<?php
header ("Content-type: text/xml");
echo ("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<?php
include("FeW34Tgi95tgJj7/config.php");
$result = mysql_query("SELECT DISTINCT manufacture FROM `ccs_store_inventory` WHERE manufacture IS NOT NULL ORDER BY manufacture ASC") or die (mysql_error());
while ($row = mysql_fetch_array ($result)) {
?>
   <url>
    <loc>https://www.mytub.co.uk/<? echo strtolower(str_replace(' ', '-', $row['manufacture'])); ?>-manufacture-1</loc>
    <changefreq>monthly</changefreq>
   </url>  
<? } ?> 
</urlset>