php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14506 Error Message Expected !
Submitted: 2001-12-14 04:05 UTC Modified: 2001-12-14 04:15 UTC
From: no at mail dot com Assigned:
Status: Not a bug Package: ODBC related
PHP Version: 4.0.6 OS: W2K
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: no at mail dot com
New email:
PHP Version: OS:

 

 [2001-12-14 04:05 UTC] no at mail dot com
function Tabelle($CN, $SQL, $Border)
	{
	if ($RS = odbc_exec($CN, $SQL))
		{
		if (empty($Border))
			{$Border=0;}
		echo "<table border=", $Border, "><tr>";
		for ($Z=0;  $Z < odbc_num_fields($RS) ; $Z++)
			{
			$Name = obdc_field_name($RS, $Z+1);
			echo "<th>", $Name, "</th>";
			}
		echo "</tr></table>";
		}
	}
	
Tabelle(odbc_connect("test2", "", ""), "SELECT Ware, Preis FROM Tabelle2", 5)

--> System Crash! Error message expected ...


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-14 04:13 UTC] derick@php.net
bugs.php.net/how-to-report.php << read that first
 [2001-12-14 04:14 UTC] yohgaki@php.net
Does this happen with 4.1.0?
If you stil have problem, insert die() and locate which line crashes.

 [2001-12-14 04:15 UTC] derick@php.net
bugs.php.net/how-to-report.php << read that first
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed May 07 11:01:29 2025 UTC