|
maxdb_connectmaxdb::__constructOpen a new connection to the MaxDB server BeschreibungProzeduraler Stil
resource maxdb_connect
([ string
$host
[, string $username
[, string $passwd
[, string $dbname
[, int $port = 0
[, string $socket
]]]]]] )Objektorientierter Stil
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 Rückgabewerte
Returns a resource which represents the connection to a MaxDB Server or
BeispieleBeispiel #1 Objektorientierter Stil
<?phpBeispiel #2 Prozeduraler Stil
<?phpDas oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie: Host information: localhost |