cvs: phpweb / mod_bugs.php
| From: | Zak Greant | Date: | Sun, 03 Sep 2000 20:00:25 +0000 |
| Subject: | cvs: phpweb / mod_bugs.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-1952@lists.php.net to get a copy of this message | ||
zak Sun Sep 3 13:00:25 2000 EDT
Modified files:
/phpweb mod_bugs.php
Log:
Index: phpweb/mod_bugs.php
diff -u phpweb/mod_bugs.php:1.15 phpweb/mod_bugs.php:1.16
--- phpweb/mod_bugs.php:1.15 Sun Sep 3 12:54:00 2000
+++ phpweb/mod_bugs.php Sun Sep 3 13:00:25 2000
@@ -408,10 +408,13 @@
unset ($comments[0]); # Ditch the most recent comment
#fetch original bug description
- $query = "SELECT * from bugdb where id=$bug_id";
+ $query = "SELECT ts1, email, ldesc from bugdb where id=$bug_id";
$result = mysql_query ($query);
- foreach (mysql_fetch_array ($result) as $key => $value)
- print "<b>$key:</b> $value<br>";
+ $temp = mysql_fetch_row ($result);
+ print implode ("|", $temp);
+ $comments[] = $temp;
+
+ print
foreach ($comments as $value)
$output .= "[$value[0]] $value[1]\n$value[2]\n\n$divider\n\n";