Home > PHP > Function > Informix > ifx_connect()

ifx_connect()

ifx_connect - Open Informix server connection

Syntax

resource ifx_connect (string $database, string $userid, string $password)

Arguments

  • database - The database name, as a string.
  • userid - The username, as a string.
  • password - The password, as a string.

Description

ifx_connect() establishes a connection to an Informix server.

Version

PHP 4, <=5.2.0

Return value

Returns a connection identifier on success, or FALSE on error.