GithubHelp home page GithubHelp logo

Comments (3)

v-mabarw avatar v-mabarw commented on July 19, 2024

On 2012-12-11 17:40:21 UTC, robertjohnson commented:

What version of the driver are you using? I tried something similar to your code in Japanese, German, Russian and English and they all worked, with the correct encoding, and with your SELECT statements at the end.

Do you know that the sqlsrv warning messages are not retrieved using sqlsrv_fetch_array?

If you need more help, please ask a question on the forum:
http://social.msdn.microsoft.com/Forums/en-US/sqldriverforphp/threads

There is a post in the forum about how to do a plain backup:
http://social.msdn.microsoft.com/Forums/da/sqldriverforphp/thread/e0908b2f-4afa-4626-830d-9683486186c8

from msphpsql.

v-mabarw avatar v-mabarw commented on July 19, 2024

On 2012-12-11 22:29:36 UTC, MaxiWheat commented:

Here is what is returned by sqlsrv_client_info :

Array ( [DriverDllName] => sqlncli11.dll [DriverODBCVer] => 03.80 [DriverVer] => 11.00.2100 [ExtensionVer] => 3.0.3421.0 )

And this is what comes from sqlsrv_server_info :

Array ( [CurrentDatabase] => myDB [SQLServerVersion] => 10.00.5500 [SQLServerName] => myserverhost)

Yes I know that messages are not retrieved by sqlsrv_fetch_array, and I'm not really interested in retrieving them, but what happens here, is that it makes PHP crash. What makes PHP actually crash is the second call to sqlsrv_next_result (in the while loop)
and we don't really explain it, so we think it's a bug.

We run Zend Server 5.6 (PHP 5.3.14) on Windows Server 2008 R2 Standard Edition Service Pack 1

from msphpsql.

yitam avatar yitam commented on July 19, 2024

Already fixed. Closing this issue.

from msphpsql.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.