Home > PHP > Function > > maxdb()

maxdb()

maxdb - Open a new connection to the MaxDB server

Syntax

resource maxdb (string $host, string $username, string $passwd, string $dbname, int $port, string $socket, string $host, string $username, string $passwd, string $dbname, int $port, string $socket)

Arguments

  • host
  • username
  • passwd
  • dbname
  • port
  • socket
  • host
  • username
  • passwd
  • dbname
  • port
  • socket

Description

Procedural style

Version

PHP PECL maxdb >= 1.0

Return value

Returns a resource which represents the connection to a MaxDB Server or FALSE if the connection failed.