mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
fix #33406: error in the example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@188828 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
a6ddc90d6b
commit
de4e9f4477
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.13 $ -->
|
||||
<!-- $Revision: 1.14 $ -->
|
||||
<refentry id="function.mysql-field-name">
|
||||
<refnamediv>
|
||||
<refname>mysql_field_name</refname>
|
||||
|
@ -56,7 +56,7 @@ if (!$link) {
|
|||
$dbname = 'mydb';
|
||||
$db_selected = mysql_select_db($dbname, $link);
|
||||
if (!$db_selected) {
|
||||
die('Could not set $dbname: ' . mysql_error());
|
||||
die("Could not set $dbname: " . mysql_error());
|
||||
}
|
||||
$res = mysql_query('select * from users', $link);
|
||||
|
||||
|
|
Loading…
Reference in a new issue