2008年7月21日星期一

Re: [fw-db] Mysqli adapter inserts empty strings

Yesterday, I tried to change db driver in my project from pdo_mysql to mysqli, and there was the same behavior. All select operations was ok, but no success insertion occured. I use mysql 5.1 and php 5.2.6 + ZF 1.5.2. I noticed that in php.log the 'Unhandled Exception in line 0'  string appeared.


PS: I think we have found a bug :)


2008/7/21 sempsteen <sempsteen@gmail.com>:
Hi all,
I'm using Mysqli extension. When i try to insert a data to the
database it always inserts empty strings. I've searched for solution
but couldn't find anything. In PHP documentation it says:
The mysqli extension is designed to work with the version 4.1.3 or
above of MySQL. For previous versions, please see the MySQL extension
documentation.
And my server has MySQL v4.1.22. Do you think this is because of my
MySQL version?
Thanks.




--
Good Luck.

Maxim Savenko
EMail: maxim.savenko@gmail.com

没有评论: