git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347542 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
George Peter Banyard 2019-06-04 16:19:35 +00:00
parent aa2f300f3e
commit 2a56e2bba7

View file

@ -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;
<screen>
<![CDATA[
Errormessage: Unknown system variable 'a'
Error message: Unknown system variable 'a'
]]>
</screen>
</example>