Bug #14506 Updated: Error Message Expected !
| From: | yohgaki@php.net | Date: | Fri, 14 Dec 2001 09:14:26 +0000 |
| Subject: | Bug #14506 Updated: Error Message Expected ! | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-73703@lists.php.net to get a copy of this message | ||
ID: 14506
Updated by: yohgaki
Reported By: no@mail.com
Old Status: Bogus
Status: Feedback
Bug Type: ODBC related
Operating System: W2K
PHP Version: 4.0.6
New Comment:
Does this happen with 4.1.0?
If you stil have problem, insert die() and locate which line crashes.
Previous Comments:
------------------------------------------------------------------------
[2001-12-14 04:13:18] derick@php.net
bugs.php.net/how-to-report.php << read that first
------------------------------------------------------------------------
[2001-12-14 04:05:51] no@mail.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 ...
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=14506&edit=1