Commit:    21084ee3da82d378b576487f419bcefb545650cd
Author:    philip <[email protected]>         Tue, 24 May 2016 18:42:03 -0700
Parents:   10cf0925a25365e96f82c0d385ebc32502dd1e83
Branches:  master

Link:       
http://git.php.net/?p=web/bugs.git;a=commitdiff;h=21084ee3da82d378b576487f419bcefb545650cd

Log:
I give up.
The schema definition in bugs.sql for this table
appears invalid.
This data belongs in the source anyways, as clearly
more people need access as it's so outdated today.
Moving it soonish.

Changed paths:
  M  www/admin/index.php


Diff:
diff --git a/www/admin/index.php b/www/admin/index.php
index a4c3dfc..24972d3 100644
--- a/www/admin/index.php
+++ b/www/admin/index.php
@@ -42,23 +42,16 @@ if ($action === 'list_lists') {
 if ($action === 'list_responses') {
 
        $res = $dbh->query("
-               SELECT id, name, status, title, message, project, package_name, 
webonly
+               SELECT *
                FROM bug_resolves
-               ORDER BY name
        ");
 
        echo "<h3>List Responses</h3>";
-       echo "<dl>\n";
+       echo "<pre>\n";
        while ($row = $res->fetchRow(MDB2_FETCHMODE_ASSOC)) {
-               echo "<dt>", $row['name'], " (", $row['id'], "): </dt>\n";
-               echo "<dd>", $row['title'], "</dd>\n";
-               echo "<dd>", $row['status'], "</dd>\n";
-               echo "<dd>", $row['project'], "</dd>\n";
-               echo "<dd>", $row['package_name'], "</dd>\n";
-               echo "<dd>", $row['webonly'], "</dd>\n";
-               echo "<dd>", $row['message'], "</dd>\n";
+               print_r($row);
        }
-       echo "</dl>\n";
+       echo "</pre>\n";
 
 }


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to