![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » ElevateDB Technical Support » Product Manuals » ElevateDB Version 2 PHP Extension Manual » Connection Functions » edb_connect |
edb_connect(<ConnectionString>) <ConnectionString> = Semi-colon-separated set of connection string keywords
Connection handle if successful, or FALSE if any errors
<?php // The following script connects to a local // ElevateDB configuration and database, displays // the configuration path using the edb_connset() // function, and then disconnects using the edb_disconnect() // function $con = edb_connect("type=local;charset=Ansi;configpath=C:\\Tutorial;"+ "uid=Administrator;pwd=EDBDefault;database=Tutorial"); if (!$con) { die("Could not connect: " . edb_errmsg()); } echo edb_connset($con,"configpath"); edb_disconnect($con); ?>
This web page was last updated on Thursday, November 16, 2023 at 10:39 AM | Privacy Policy![]() © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |