This is a fork of https://github.com/kissthink/crud-php-mssql. I use MSSQL functions instead of ODBC functions. Note, mssql_connect is no longer supported by PHP since PHP 7.0 and was depreciated in 5.3. I have changed or remove all ukrainian/russian language. I have abstracted the table select into scripts/table.php
. I have also done some heavy refactoring. It is missing some of the functionality of the previous repo. This code has not been throughly tested or perfected, but if you need CRUD for MSSQL in PHP using MSSQL functions, hopefully this is of help to you!
To use, enter your database info in scripts/db_functions.php
, table info in scripts/table.php
, and place the folder on a web server. Ensure you have the sqlsrv .so
for linux or .dll
for windows and it is linked in you php.ini. On Ubuntu Linux, use apt-get install php5-sybase
or the equivalent for your distro. On windows, good luck; The following looks like a good starting place. http://stackoverflow.com/questions/9986804/php-fatal-error-call-to-undefined-function-mssql-connect.