result '; $result = mysql_query($query,$conn); if (mysql_num_rows($result)>0){ while ($row = mysql_fetch_assoc($result)){ if(empty($row['AppURL'])) $xml .= " PublisherID ".$row['Hash']." Name ".$row['Name']." "; } } echo $xml." "; } if(strcasecmp($_GET["type"],"xmllist")==0){ $xml = ' '; $result = mysql_query($query,$conn); if (mysql_num_rows($result)>0){ while ($row = mysql_fetch_assoc($result)){ if(empty($row['AndroidMarket'])) $xml .= "".$row['Name'].""; $xml .= "".$row['Descript'].""; } } echo $xml.""; } ?>