|
maxdb_connectmaxdb::__constructOpen a new connection to the MaxDB server DescriptionProcedural style
resource maxdb_connect
([ string
$host
[, string $username
[, string $passwd
[, string $dbname
[, int $port = 0
[, string $socket
]]]]]] )Object oriented style
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 Return Values
Returns a resource which represents the connection to a MaxDB Server or
ExamplesExample #1 Object oriented style
<?php Example #2 Procedural style
<?php The above example will output something similar to: Host information: localhost |