ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:reference:connection:metaerrormsg

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
reference:metaerrormsg [2015/07/20 03:25] – created mnewnhamv5:reference:metaerrormsg [2016/01/13 02:31] – ↷ Page moved from reference:metaerrormsg to v5:reference:metaerrormsg mnewnham
Line 1: Line 1:
-====== metaErrorMessage ======+====== metaErrorMsg ======
 ~~NOTOC~~ ~~NOTOC~~
 +<WRAP info>
 +See also [[reference:adodb_lang|$ADODB_LANG]]
 +</WRAP>
 <WRAP right box> <WRAP right box>
 == Syntax == == Syntax ==
-  int metaError+  string metaErrorMsg
-      optional int $errorNumber+      int $errorNumber
       )       )
 </WRAP> </WRAP>
 ===== Description ===== ===== Description =====
-The function ''metaError()'' converts a database-specific error number into a portable number. This is done by querying the driver error-handling function and converting the error.  +The function ''metaErrorMsg()'' converts a portable error number, provided by [[reference:metaerror|metaError()]] into a portable, language specific message
- +
-If the database does not support the function then the value returned is always 0.   +
- +
-If no parameter is providedthe function returns the portable error number from the last error.+
  
 ===== Usage ===== ===== Usage =====
v5/reference/connection/metaerrormsg.txt · Last modified: 2016/01/17 01:51 by mnewnham