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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 14:01:29 2024 UTC