cvs: phpweb / mod_bugs.php

From: Date: Sun, 03 Sep 2000 06:21:52 +0000
Subject: cvs: phpweb / mod_bugs.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-1936@lists.php.net to get a copy of this message
zak Sat Sep 2 23:21:52 2000 EDT Modified files: /phpweb mod_bugs.php Log: :| Somedays I hate CVS Index: phpweb/mod_bugs.php diff -u phpweb/mod_bugs.php:1.2 phpweb/mod_bugs.php:1.3 --- phpweb/mod_bugs.php:1.2 Sat Sep 2 23:00:15 2000 +++ phpweb/mod_bugs.php Sat Sep 2 23:21:52 2000 @@ -423,10 +423,9 @@ ### Changes made by j.a.greant 00/09/02 - $query = "SELECT ts, email, comment from bugdb where id=$id order by ts"; + $query = "SELECT ts, email, comment from bugdb_comments where id=$id order by ts"; $result = mysql_query($query); - print '<br>'.mysql_error () .'<br>'; - + while ($temp = mysql_fetch_row ($result)) # $result should always be valid, suppress error just in case. { $prev_comments .= "[$temp[0]] $temp[1]\n$temp[2]\n\n" . str_repeat ('-', 76) . "\n\n";

« previous php.mirrors (#1936) next »