update : 2015.11.03
php.shukuma.com검색:
|
maxdb_connectmaxdb::__construct(PECL maxdb >= 1.0) maxdb_connect -- maxdb::__construct — Open a new connection to the MaxDB server 설명절차식 형식
resource maxdb_connect
([ string
$host
[, string $username
[, string $passwd
[, string $dbname
[, int $port = 0
[, string $socket
]]]]]] )객체 기반 형식
maxdb::__construct
([ string
$host
[, string $username
[, string $passwd
[, string $dbname
[, int $port = 0
[, string $socket
]]]]]] )
The maxdb_connect() function attempts to open a connection to the MaxDB Server
running on
The
The
The 반환값
Returns a resource which represents the connection to a MaxDB Server or
예제Example #1 객체 기반 형식
<?php Example #2 절차식 형식
<?php 위 예제의 출력 예시: Host information: localhost |