File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
1.0 PHP Configuration and Getting Started
2.0 PHP Server programming - Stored procedures, Transactions, and UDFs Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
2
echo "\n" ;
3
- $ serverName = 'tcp:yourserver .database.windows.net,1433 ' ;
3
+ $ serverName = 'tcp:your_server .database.windows.net,1433 ' ;
4
4
5
5
$ connectionOptions = [
6
- 'Database ' => 'yourpassword ' ,
7
- 'Uid ' => 'yourusername ' ,
8
- 'PWD ' => 'yourpassword ' ,
6
+ 'Database ' => 'your_database ' ,
7
+ 'Uid ' => 'your_username ' ,
8
+ 'PWD ' => 'your_password ' ,
9
9
];
10
10
11
11
$ conn = sqlsrv_connect ($ serverName , $ connectionOptions );
Original file line number Diff line number Diff line change 1
1
<?php
2
- $ serverName = 'tcp:yourserver .database.windows.net,1433 ' ;
2
+ $ serverName = 'tcp:your_server .database.windows.net,1433 ' ;
3
3
$ connectionOptions = [
4
- 'Database ' => 'yourdatabase ' ,
5
- 'Uid ' => 'yourusername ' ,
6
- 'PWD ' => 'yourpassword ' ,
4
+ 'Database ' => 'your_database ' ,
5
+ 'Uid ' => 'your_username ' ,
6
+ 'PWD ' => ' your_password ' ,
7
7
];
8
8
// Establishes the connection
9
9
$ conn = sqlsrv_connect ($ serverName , $ connectionOptions );
You can’t perform that action at this time.
0 commit comments