Published in $publication ($pubdate)
";
} else {
$pubinfo = "
Submitted to $publication but not published ($pubdate)
";
}
$page_letters = "
[Susan notes: $annotation]
$title
From $author
$pubinfo
$letter
More Anti-testing Letters
";
}
} else {
$sql = "SELECT * from $table order by id desc";
$result = mysql_query($sql,$connection) or die("Couldn't execute: $sql");
$page_letters = "";
while ($row = mysql_fetch_array($result)) {
$id = $row['id'];
$pubdate = $row['pubdate'];
$date_parts = explode("-", "$pubdate");
$yyyy = $date_parts[0];
$mm = $date_parts[1];
$dd = $date_parts[2];
$pubdate = "$mm/$dd/$yyyy";
$title = $row['title'];
$title = stripslashes($title);
$author = $row['author'];
$author = stripslashes($author);
$page_letters .= "
- $title, from $author ($pubdate)
";
}
$page_letters .= "
";
}
pageheader("Anti-testing Letters");
pagebodytop();
?>
Anti-testing Letters