diff --git a/reference/mysqli/mysqli/error.xml b/reference/mysqli/mysqli/error.xml index 14a518a64b..8a73491c3b 100644 --- a/reference/mysqli/mysqli/error.xml +++ b/reference/mysqli/mysqli/error.xml @@ -55,7 +55,7 @@ if ($mysqli->connect_errno) { } if (!$mysqli->query("SET a=1")) { - printf("Errormessage: %s\n", $mysqli->error); + printf("Error message: %s\n", $mysqli->error); } /* close connection */ @@ -76,7 +76,7 @@ if (mysqli_connect_errno()) { } if (!mysqli_query($link, "SET a=1")) { - printf("Errormessage: %s\n", mysqli_error($link)); + printf("Error message: %s\n", mysqli_error($link)); } /* close connection */ @@ -87,7 +87,7 @@ mysqli_close($link); &examples.outputs;