$host = $_SERVER['HTTP_HOST'];
$xmls = '
foreach ($news as $keys => $values) {
//foreach ($values as $key1 => $value1) {
$xmls .= "
$xmls .= "http://$host/news.php?id=".$values['id']."";
//$xmls .= "
//$xmls .= "
$xmls .= "
//$xmls .= "
$xmls .= "
//$xmls .= "";
//}
}
$xmls .= "";
echo $xmls;