![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » ElevateDB Technical Support » Product Manuals » ElevateDB Version 2 PHP Extension Manual » Error Handling Functions » edb_errmsg |
edb_errmsg()
Last error message (STRING) if successful, and FALSE if there are any errors
<?php // The following script connects to an ElevateDB // Server and database, returning any error code/message // if there was an error connecting $con = edb_connect("type=remote;charset=Ansi;address=127.0.0.1;"+ "uid=Administrator;pwd=EDBDefault;database=Test"); if (!$con) { die("Could not connect: (" . edb_errcode() . ") " . edb_errmsg()); } $cmd = edb_prepare($con,"customer",EDB_COMMAND_TABLE); $cursor = edb_execute($cmd); edb_disconnect($con); ?>
This web page was last updated on Wednesday, May 28, 2025 at 08:24 AM | Privacy Policy![]() © 2025 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |