note 14862 added to function.odbc-exec.php
| From: | david dot geere at nospam dot talk21 dot com | Date: | Fri, 17 Aug 2001 17:08:21 +0000 |
| Subject: | note 14862 added to function.odbc-exec.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-16854@lists.php.net to get a copy of this message | ||
Problem: Kept getting FATAL: emalloc() errors when using basic select statements via odbc for
informix ....
Solution: Cast the columns to an informix odbc friendly type...I chose varchar(255)
example: select description::varchar(255) from objects;
Don't go through the 4 hours I just went through for this..you :-) me :-(
http://www.php.net/manual/en/function.odbc-exec.php