<?php
mysql_connect (localhost, , );
mysql_select_db (**);
$result2 = mysql_query ("SELECT * From members where id = '2");
$row2 = mysql_fetch_array($result2);
$name = $row[username];
?>
<?php
$xml = "<queries>\n";
foreach ($querys as $name ){
$xml .="<query>\n";
$xml .="<title>".$name."</title>\n";
$xml .= "</query>";
}
$xml .="<query>";
echo $xml;
?>
i get this error
The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
XML document must have a top level element. Error processing resource 'http://www.site.com/zz.xml'.