📄 readme
字号:
PHP3 Microsoft SQL Server 6.5 extentionWhat is it?This is an extension library which enables support forMicrosoft SQL Server 6.5 in PHP3 under Windows NT.Actually it is a copy of the Sybase library, patched to work withMicrosofts drivers.At the moment the library might be a bit unstable whenworking with simultan connections. Please feel free to add or modifythe code, or drop me an email (fmk@businessnet.dk)InstallationFirst, you need to fetch the library files from http://www.php.net/extra/mssql_lib.zipThen you need to install MS SQL Client (or the complete SQL server)Open and compile the project mssql.dsp with MS VC++ 5.0Copy mssql.dll to c:\php3How to call it from PHP3Sample:<?dl("mssql.dll");$Conn = mssql_connect("MySQL", "User", "Password");$RS = mssql_query("SELECT * FROM UserTable", $Conn);while ($Record = mssql_fetch_row($RS)) { while (list($key, $value) = each($Record) print("\$key = $key, \$value = $value\n");}mssql_free_result($RS);mssql_close($Conn);?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -