Subject Re: [firebird-php] ERROR MESSAGE : Warning: ibase_query()
Author Milan Babuskov
anna_ppalm wrote:
> Thanks Alan. For some reason, my tahnk you message was not posted. In
> any case, now a new error.
>
> I am using "win1252", and every field in my table is a VARCHAR. I do
> not know why I am having the following error. Any ideas???
>
> Warning: ibase_query() [function.ibase-query]: arithmetic exception,
> numeric overflow, or string truncation Cannot transliterate character
> between character sets

You need to set WIN1252 as the connection charset as well.

ibase_connect('path', 'user', 'pass', 'WIN1252');

--
Milan Babuskov
http://fbexport.sourceforge.net
http://www.flamerobin.org