Skip to content

Commit 120805f

Browse files
committed
Fix typos
1 parent 56ac53d commit 120805f

File tree

4 files changed

+6
-6
lines changed
  • samples/tutorials/php
    • 2.0 PHP Server programming - Stored procedures, Transactions, and UDFs
    • RHEL/SqlServerSample
    • Ubuntu/SqlServerSample
    • Windows/SqlServerSample

4 files changed

+6
-6
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
if ($stmt1 && $stmt2) {
8383
sqlsrv_commit($conn);
8484
?>
85-
<h1> Transaction was commited </h1>
85+
<h1> Transaction was committed </h1>
8686

8787
<?php
8888
} else {

samples/tutorials/php/RHEL/SqlServerSample/crud.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
$userToUpdate = 'Nikita';
2828
$tsql = 'UPDATE TestSchema.Employees SET Location = ? WHERE Name = ?';
29-
$params = ['Sweeden', $userToUpdate];
29+
$params = ['Sweden', $userToUpdate];
3030
echo('Updating Location for user ' . $userToUpdate . PHP_EOL);
3131

3232
$getResults = sqlsrv_query($conn, $tsql, $params);
@@ -38,7 +38,7 @@
3838
echo($rowsAffected . ' row(s) updated: ' . PHP_EOL);
3939
sqlsrv_free_stmt($getResults);
4040

41-
// Delte Query
41+
// Delete Query
4242
$userToDelete = 'Jared';
4343
$tsql = 'DELETE FROM TestSchema.Employees WHERE Name = ?';
4444
$params = [$userToDelete];

samples/tutorials/php/Ubuntu/SqlServerSample/crud.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
$userToUpdate = 'Nikita';
2828
$tsql = 'UPDATE TestSchema.Employees SET Location = ? WHERE Name = ?';
29-
$params = ['Sweeden', $userToUpdate];
29+
$params = ['Sweden', $userToUpdate];
3030
echo('Updating Location for user ' . $userToUpdate . PHP_EOL);
3131

3232
$getResults = sqlsrv_query($conn, $tsql, $params);
@@ -38,7 +38,7 @@
3838
echo($rowsAffected . ' row(s) updated: ' . PHP_EOL);
3939
sqlsrv_free_stmt($getResults);
4040

41-
// Delte Query
41+
// Delete Query
4242
$userToDelete = 'Jared';
4343
$tsql = 'DELETE FROM TestSchema.Employees WHERE Name = ?';
4444
$params = [$userToDelete];

samples/tutorials/php/Windows/SqlServerSample/crud.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
$userToUpdate = 'Nikita';
2828
$tsql = 'UPDATE TestSchema.Employees SET Location = ? WHERE Name = ?';
29-
$params = ['Sweeden', $userToUpdate];
29+
$params = ['Sweden', $userToUpdate];
3030
echo('Updating Location for user ' . $userToUpdate . PHP_EOL);
3131

3232
$getResults = sqlsrv_query($conn, $tsql, $params);

0 commit comments

Comments
 (0)