". "". "". " newIssue "; $result = mysql_query($query,$conn)or die("Error"); if (mysql_num_rows($result)>0){ while ($row = mysql_fetch_assoc($result)){ $xml .= " Category ".$row['category']." issueId ".$row['issueid']." PublisherId ".$row['publisherid']." Subacategory ".$row['subcategory']." "; } $xml .= " "; echo $xml; }; ?>