i upgradefrom php version 2.2 to 2.4 and php 5.6 too. The problem is with the new php the function does not support mssql_connect so i installed the new driver for sqlsvr and when i made the Database connection it work fine. I need some help. How can I change this code from mssql to sqlsvr thanks you and i
Tag: php-mssql
pdo connect convert to MSsql and fetch data
I had such code, which works fine and I need to get same result then I convert my database connection And now I converting this code to: How to get THE SAME RESULT AS IN MY FIRST CODE WITH PDO Connection ? At first PDO example I get echo $json such data structure: Answer Working example: Notes: Example is tested
mssql_bind empty string converting to NULL
I am currently using SQL Server 2000 Stored Procedures with PHP. Following the PHP doc, I use mssql_bind to assign value of parameters and then execute the Stored Procedure. The problem is that I got this bug which prevents me to bind empty strings to parameters (they are converted to NULL when the Stored Proc gets called) I dont’t want