mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
fix example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@221052 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
f014322893
commit
d044ee8b75
1 changed files with 3 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.1 $ -->
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<refentry id="function.db2-set-option">
|
||||
<refnamediv>
|
||||
<refname>db2_set_option</refname>
|
||||
|
@ -328,8 +328,8 @@ $database = 'SAMPLE';
|
|||
$hostname = 'localhost';
|
||||
$port = 50000;
|
||||
$protocol = 'TCPIP';
|
||||
$username = 'db2inst1'; //change to db2inst1
|
||||
$password = 'ibmdb2'; //change to ibmdb2
|
||||
$username = 'db2inst1';
|
||||
$password = 'ibmdb2';
|
||||
|
||||
/* Connection String */
|
||||
$conn_string = "DRIVER={IBM DB2 ODBC DRIVER};DATABASE=$database;";
|
||||
|
@ -469,7 +469,6 @@ else
|
|||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
|
||||
/* Database Connection Parameters */
|
||||
$database = 'SAMPLE';
|
||||
$hostname = 'localhost';
|
||||
|
|
Loading…
Reference in a new issue