Re: My final say on Empress RBDMS and PHP

From: Date: Sat, 12 Dec 1998 11:25:43 +0000
Subject: Re: My final say on Empress RBDMS and PHP
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-2789@lists.php.net to get a copy of this message
Steve Williams wrote: > I THINK that the data should NEVER be displayed in a HTML table, > therefore the code should be: > > case SQL_LONGVARBINARY: > php3_printf("<td>Not printable</td>"); > break; > You are right, but the whole binary handling has to take into account, that there are many users that use Access with uodbc. Unfortunately, the popular Access "Memo" fields are of type LONGVARBINARY - but mostly contain just text. In earlier versions of uodbc, binary columns never got displayed in tables and got passed through to the client by odbc_result(). To resolve this, odbc_binmode and odbc_longreadlen were introduced to allow Access users to display their data. This handling may be a little bit confusing, but allows for maximum flexibility. -Andreas -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#2789) next »