PHP » GoLang |
login |
register |
about
|
GoLang maxdb_real_connect
request it (372)
GoLang replacement for PHP's maxdb_real_connect
[edit | history]
maxdb_real_connectmaxdb::real_connect(PECL maxdb >= 1.0) maxdb_real_connect -- maxdb::real_connect — Opens 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
|
more
Recently updated
more
Most requested
more
Last requests
|