mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Fix syntax error in example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335586 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
c4c0f7fc58
commit
0d0936323e
1 changed files with 2 additions and 1 deletions
|
@ -89,7 +89,8 @@ $mysqli = new mysqli("localhost", "my_user", "my_password", "world");
|
|||
|
||||
/* check connection */
|
||||
if ($mysqli->connect_errno) {
|
||||
die("Connect failed: %s\n", $mysqli->connect_error);
|
||||
printf("Connect failed: %s\n", $mysqli->connect_error);
|
||||
exit();
|
||||
}
|
||||
|
||||
$query = "SELECT Name, CountryCode FROM City ORDER by ID LIMIT 3";
|
||||
|
|
Loading…
Reference in a new issue