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 this is not your bug, you can add a comment by following this link.
If this is your bug, but 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

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: Fri Apr 19 21:01:30 2024 UTC