Bug #14262 Updated: field name in select results strange characters
ID: 14262
Updated by: derick
Reported By: mlr@interchain.nl
Status: Assigned
Bug Type: ODBC related
Operating System: Linux 6.1
PHP Version: 4.0.6
Old Assigned To: derick
Assigned To: dank
New Comment:
Re-assigning this to Dan
Derick
Previous Comments:
------------------------------------------------------------------------
[2001-11-28 05:35:11] derick@php.net
Yes, I'll look into it (see also the e-mail I sent).
Derick
------------------------------------------------------------------------
[2001-11-28 04:21:18] mlr@interchain.nl
The strange characters displayed were displayed due to an error in our own ODBC client.
I still have the wish that the field name isn't limited to 32 but is allocated as needed, but I
have no idea how difficult this is to implement.
Marco
------------------------------------------------------------------------
[2001-11-28 02:42:26] derick@php.net
Okay, I'm on it.
Derick
------------------------------------------------------------------------
[2001-11-28 02:39:44] mlr@interchain.nl
Here it is:
<?
$cnx = odbc_connect("unims","ecw","inter00");
$query = "select 1 as '123456789 123456789 123456789 123456789 ' from
bedryf;";
$qid = odbc_exec($cnx,$query);
echo odbc_field_name($qid,1);
odbc_close($cnx);
?>
------------------------------------------------------------------------
[2001-11-28 02:36:15] derick@php.net
Can you post a short script for me?
Derick
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/?id=14262
Edit this bug report at http://bugs.php.net/?id=14262&edit=1
Thread (10 messages)