cvs: phpweb /include shared-manual.inc
| From: | Hojtsy Gabor | Date: | Tue, 28 Aug 2001 17:03:31 +0000 |
| Subject: | cvs: phpweb /include shared-manual.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-6172@lists.php.net to get a copy of this message | ||
goba Tue Aug 28 13:03:31 2001 EDT
Modified files:
/phpweb/include shared-manual.inc
Log:
Try this section => sect changes as there
are no table information anywhere, so I can
only guess from the bin/user-notes.php code,
what is the problem...
Index: phpweb/include/shared-manual.inc
diff -u phpweb/include/shared-manual.inc:1.112 phpweb/include/shared-manual.inc:1.113
--- phpweb/include/shared-manual.inc:1.112 Tue Aug 28 03:44:17 2001
+++ phpweb/include/shared-manual.inc Tue Aug 28 13:03:31 2001
@@ -174,7 +174,7 @@
$notes = array();
if (is_primary_site() &&
@mysql_connect("localhost","nobody","")) {
mysql_select_db("php3");
- $query = "SELECT *,UNIX_TIMESTAMP(ts) AS xwhen FROM note WHERE section='$id' AND
NOT removed ORDER BY id";
+ $query = "SELECT *,UNIX_TIMESTAMP(ts) AS xwhen FROM note WHERE sect='$id' AND NOT
removed ORDER BY id";
$result_id = mysql_query($query);
if ($result_id && mysql_num_rows($result_id) > 0) {
while ($row = mysql_fetch_array($result_id)) {