Bug #14506 Updated: Error Message Expected !

From: Date: Fri, 14 Dec 2001 09:15:18 +0000
Subject: Bug #14506 Updated: Error Message Expected !
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-73704@lists.php.net to get a copy of this message
ID: 14506 Updated by: derick Reported By: no@mail.com Old Status: Feedback Status: Bogus Bug Type: ODBC related Operating System: W2K PHP Version: 4.0.6 New Comment: bugs.php.net/how-to-report.php << read that first Previous Comments: ------------------------------------------------------------------------ [2001-12-14 04:14:25] 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: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

« previous php.dev (#73704) next »