phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] phpgwapi/inc/class.db_mysql.inc.php, 1.30.2.3.2.12


From: nomail
Subject: [Phpgroupware-cvs] phpgwapi/inc/class.db_mysql.inc.php, 1.30.2.3.2.12
Date: Sat, 6 Nov 2004 16:34:26 +0100

Update of /phpgwapi/inc
Modified Files:
        Branch: Version-0_9_16-branch
          class.db_mysql.inc.php

date: 2004/11/06 15:34:26;  author: powerstat;  state: Exp;  lines: +7 -7

Log Message:
Bugfixes HTML; makes it a bit more W3C conform;
see patch  #3503
=====================================================================
Index: phpgwapi/inc/class.db_mysql.inc.php
diff -u phpgwapi/inc/class.db_mysql.inc.php:1.30.2.3.2.11 
phpgwapi/inc/class.db_mysql.inc.php:1.30.2.3.2.12
--- phpgwapi/inc/class.db_mysql.inc.php:1.30.2.3.2.11   Mon Jun 28 07:08:09 2004
+++ phpgwapi/inc/class.db_mysql.inc.php Sat Nov  6 15:34:26 2004
@@ -185,7 +185,7 @@
 
                        if ($this->Debug)
                        {
-                               printf("Debug: query = %s<br>\n", 
$Query_String);
+                               printf("Debug: query = %s<br />\n", 
$Query_String);
                        }
 
                        $this->Query_ID = 
@mysql_query($Query_String,$this->Link_ID);
@@ -233,7 +233,7 @@
 
                        if ($this->Debug)
                        {
-                               printf("Debug: limit_query = %s<br>offset=%d, 
num_rows=%d<br>\n", $Query_String, $offset, $num_rows);
+                               printf("Debug: limit_query = %s<br />offset=%d, 
num_rows=%d<br />\n", $Query_String, $offset, $num_rows);
                        }
 
                        return $this->query($Query_String, $line, $file);
@@ -548,11 +548,11 @@
 
                        if ($file)
                        {
-                               printf("<br><b>File:</b> %s",$file);
+                               printf("<br /><b>File:</b> %s",$file);
                        }
                        if ($line)
                        {
-                               printf("<br><b>Line:</b> %s",$line);
+                               printf("<br /><b>Line:</b> %s",$line);
                        }
 
                        if ($this->Halt_On_Error != "report")
@@ -569,10 +569,10 @@
          */
                function haltmsg($msg)
                {
-                       printf("<b>Database error:</b> %s<br>\n", $msg);
+                       printf("<b>Database error:</b> %s<br />\n", $msg);
                        if ($this->Errno != "0" && $this->Error != "()")
                        {
-                               printf("<b>MySQL Error</b>: %s 
(%s)<br>\n",$this->Errno,$this->Error);
+                               printf("<b>MySQL Error</b>: %s (%s)<br 
/>\n",$this->Errno,$this->Error);
                        }
                }
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]