phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] phpgwapi/inc/class.db_odbc.inc.php, 1.5.4.5


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

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

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

Log Message:
Bugfixes HTML; makes it a bit more W3C conform;
see patch  #3503
=====================================================================
Index: phpgwapi/inc/class.db_odbc.inc.php
diff -u phpgwapi/inc/class.db_odbc.inc.php:1.5.4.4 
phpgwapi/inc/class.db_odbc.inc.php:1.5.4.5
--- phpgwapi/inc/class.db_odbc.inc.php:1.5.4.4  Mon Jun 28 07:08:09 2004
+++ phpgwapi/inc/class.db_odbc.inc.php  Sat Nov  6 15:34:26 2004
@@ -56,7 +56,7 @@
                {
                        $this->connect();
 
-                       #   printf("<br>Debug: query = %s<br>\n", 
$Query_String);
+                       #   printf("<br />Debug: query = %s<br />\n", 
$Query_String);
 
                        #   address@hidden suggested that we use this instead 
of the odbc_exec().
                        #   He is on NT, connecting to a Unix MySQL server with 
ODBC. -- KK
@@ -144,7 +144,7 @@
                {
                        # Many ODBC drivers don't support odbc_num_rows() on 
SELECT statements.
                        $num_rows = odbc_num_rows($this->Query_ID);
-                       //printf ($num_rows."<br>");
+                       //printf ($num_rows."<br />");
 
                        # This is a workaround. It is intended to be ugly.
                        if ($num_rows < 0)
@@ -178,7 +178,7 @@
                                                        $i=$j;
                                                }
                                        }
-                                       //printf("$i $j $k <br>");
+                                       //printf("$i $j $k <br />");
                                }
                                $num_rows=$i;
                        }
@@ -197,8 +197,8 @@
 
                function halt($msg)
                {
-                       printf("<b>Database error:</b> %s<br>\n", $msg);
-                       printf("<b>ODBC Error</b>: %s (%s)<br>\n",
+                       printf("<b>Database error:</b> %s<br />\n", $msg);
+                       printf("<b>ODBC Error</b>: %s (%s)<br />\n",
                        $this->Errno,
                        $this->Error);
                        die('Session halted.');




reply via email to

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