";
while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) {
printf("%s",$row['guid'], $row["post_title"], $row["post_date"], $row["ID"]);
if ( $row["post_title"]==""){
while ($row = mysql_fetch_array($result, MYSQL_ASSOC)){
printf("Post#%s
",$row['guid'], $row["ID"]);
}}}
echo "