« Return to Thread: Mysqli adapter inserts empty strings

Re: Mysqli adapter inserts empty strings

by Maxim Savenko :: Rate this Message:

Reply to Author | View in Thread

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@...>:
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@...

 « Return to Thread: Mysqli adapter inserts empty strings

LightInTheBox - Buy quality products at wholesale price!