cvs: phpweb /manual browse-errata.php
| From: | Jim Winstead | Date: | Tue, 28 Aug 2001 06:39:44 +0000 |
| Subject: | cvs: phpweb /manual browse-errata.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-6158@lists.php.net to get a copy of this message | ||
jimw Tue Aug 28 02:39:44 2001 EDT
Modified files:
/phpweb/manual browse-errata.php
Log:
don't show entries already marked for removal
Index: phpweb/manual/browse-errata.php
diff -u phpweb/manual/browse-errata.php:1.8 phpweb/manual/browse-errata.php:1.9
--- phpweb/manual/browse-errata.php:1.8 Wed Mar 7 23:12:24 2001
+++ phpweb/manual/browse-errata.php Tue Aug 28 02:39:44 2001
@@ -76,7 +76,7 @@
echo "<a
href=\"$PHP_SELF?let=".chr($i)."\">".chr($i)."</a>\n";
}
if(!$let) $let='a';
- $query = "SELECT *,UNIX_TIMESTAMP(ts) AS my_when FROM note where sect like '$let%'
ORDER BY sect,ts ";
+ $query = "SELECT *,UNIX_TIMESTAMP(ts) AS my_when FROM note WHERE sect LIKE '$let%'
AND NOT removed ORDER BY sect,ts ";
if (($result = mysql_query($query)) && mysql_num_rows($result) > 0) {
echo "<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0>\n";
$last = '';