Skip to content

Commit 5b3b63e

Browse files
committed
Make more placeholder strings more readable by using snake case
1 parent 120805f commit 5b3b63e

File tree

2 files changed

+8
-8
lines changed
  • samples/tutorials/php
    • 1.0 PHP Configuration and Getting Started
    • 2.0 PHP Server programming - Stored procedures, Transactions, and UDFs

2 files changed

+8
-8
lines changed

samples/tutorials/php/1.0 PHP Configuration and Getting Started/test.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?php
22
echo "\n";
3-
$serverName = 'tcp:yourserver.database.windows.net,1433';
3+
$serverName = 'tcp:your_server.database.windows.net,1433';
44

55
$connectionOptions = [
6-
'Database' => 'yourpassword',
7-
'Uid' => 'yourusername',
8-
'PWD' => 'yourpassword',
6+
'Database' => 'your_database',
7+
'Uid' => 'your_username',
8+
'PWD' => 'your_password',
99
];
1010

1111
$conn = sqlsrv_connect($serverName, $connectionOptions);

samples/tutorials/php/2.0 PHP Server programming - Stored procedures, Transactions, and UDFs/test.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
2-
$serverName = 'tcp:yourserver.database.windows.net,1433';
2+
$serverName = 'tcp:your_server.database.windows.net,1433';
33
$connectionOptions = [
4-
'Database' => 'yourdatabase',
5-
'Uid' => 'yourusername',
6-
'PWD' => 'yourpassword',
4+
'Database' => 'your_database',
5+
'Uid' => 'your_username',
6+
'PWD' => ' your_password',
77
];
88
// Establishes the connection
99
$conn = sqlsrv_connect($serverName, $connectionOptions);

0 commit comments

Comments
 (0)