RE: [PHP] ODBC text file connection problem

From: Date: Tue, 10 Sep 2002 19:29:14 +0000
Subject: RE: [PHP] ODBC text file connection problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-115880@lists.php.net to get a copy of this message
[snip] // ODBC commands to explore connection: $result = odbc_tables($odbc); odbc_fetch_into($result,$row); print_r($row); [/snip] Have you tried a WHILE loop to print out each row? I am not sure of the exact syntax but something like; <?php while(odbc_fetch_into($result, &$fields)){ print($fields[0]); print($fields[1]); // and so on ... print("<br>\n"); //at end of row } ?> Jay ***************************************************** * Texas PHP Developers Conf Spring 2003 * * T Bar M Resort & Conference Center * * New Braunfels, Texas * * Contact jay.blanchard@niicommunications.com * * * * Want to present a paper or workshop? Contact now! * ***************************************************** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#115880) next »