Manuál PHP | ||
---|---|---|
PÅ™edcházejÃcà | DalÅ¡Ã |
maxdb_real_connect
(PECL)
maxdb_real_connect(no version information, might be only in CVS)
maxdb->real_connect -- Opens a connection to a MaxDB serverDescription
Procedural style
bool maxdb_real_connect ( resource link [, string hostname [, string username [, string passwd [, string dbname [, int port [, string socket]]]]]] )Object oriented style (method)
class maxdb {bool real_connect ( [string hostname [, string username [, string passwd [, string dbname [, int port [, string socket]]]]]] )
}
maxdb_real_connect() attempts to establish a
connection to a MaxDB database engine running on
hostname
.
This function differs from maxdb_connect():
maxdb_real_connect() needs a valid resource which has to be created by function maxdb_init()
With function maxdb_options() you can set various options for connection.
Example
PÅ™Ãklad 2. Procedural style
|
The above examples would produce the following output:
Connection: localhost <...> |
PÅ™edcházejÃcà | Domů | DalÅ¡Ã |
maxdb_query | Nahoru |