|
maxdb_real_connectmaxdb::real_connectOpens a connection to a MaxDB server DescriptionProcedural style
bool maxdb_real_connect
( resource
$link
[, string $hostname
[, string $username
[, string $passwd
[, string $dbname
[, int $port = 0
[, string $socket
]]]]]] )Object oriented style
bool maxdb::real_connect
([ string
$hostname
[, string $username
[, string $passwd
[, string $dbname
[, int $port = 0
[, string $socket
]]]]]] )
maxdb_real_connect attempts to establish a
connection to a MaxDB database engine running on
This function differs from maxdb_connect:
Return Values
Returns ExamplesExample #1 Object oriented style
<?php Example #2 Procedural style
<?php The above example will output something similar to: Connection: localhost <...> See Also
|