|
(no version information, might be only in CVS)
maxdb_real_connect(no version information, might be only in CVS)
maxdb->real_connect -- Opens a connection to a MaxDB serverProcedural 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 {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.
Esempio 2. Procedural style
|
The above examples would produce the following output:
Connection: localhost <...> |
Hosting by: hurra.com
Generated: 2007-01-26 17:56:44