ID: 14506 Updated by: yohgaki Reported By: [EMAIL PROTECTED] 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] [EMAIL PROTECTED] bugs.php.net/how-to-report.php << read that first ------------------------------------------------------------------------ [2001-12-14 04:05:51] [EMAIL PROTECTED] 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 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]