On Sun, Jun 28, 2009 at 7:43 PM, umpirsky<[email protected]> wrote:
>
> Hi.
>
> First of all, thank you for looking into my problem.
>
> I saw this issue in jira before, but didn't carefuly read the comments.
>
> Yes, I knew I have PHP 5.2.8 on my machine and 5.2.6 on server, man I should
> read all comments carefully :)
>
> You're also right, switching to mysqli fixed the problem. I just wander what
> is better PDO or mysqli, will read
> http://www.google.com/search?q=pdo+vs+mysqli&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a
>
> Thanks man, you saved my day.

Just happy I could help.

I think in theory, ext/pdo is great when you want to talk to different
databases -- e.g. your clients use MySQL, PSQL or Oracle. I'm not sure
how portable the SQL statements always are between the different
vendors but I think you can do it if you follow the book. ;-)

If on the other hand you write a MySQL-specific app, there's no reason
not to use ext/mysqli.

Till

Reply via email to