|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-12-14 04:13 UTC] derick@php.net
[2001-12-14 04:14 UTC] yohgaki@php.net
[2001-12-14 04:15 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 10:00:02 2025 UTC |
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 ...