Method naming in camel case

This commit is contained in:
Marc Würth
2020-04-23 21:50:32 +02:00
parent 9387ed0f24
commit 093fbf56c1
8 changed files with 32 additions and 32 deletions
@@ -15,14 +15,14 @@ $tsql = "SELECT SUM(Price) as sum FROM Table_with_5M_rows";
$getResults = sqlsrv_query($conn, $tsql);
echo("Sum: ");
if ($getResults == false) {
die(FormatErrors(sqlsrv_errors()));
die(formatErrors(sqlsrv_errors()));
}
while ($row = sqlsrv_fetch_array($getResults, SQLSRV_FETCH_ASSOC)) {
echo($row['sum'] . PHP_EOL);
}
sqlsrv_free_stmt($getResults);
function FormatErrors($errors)
function formatErrors($errors)
{
/* Display errors. */
echo "Error information: ";