ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:reference:connection:errorno

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
v5:reference:connection:errorno [2026/02/23 02:51] – [Description] mnewnhamv5:reference:connection:errorno [2026/02/23 02:56] (current) mnewnham
Line 5: Line 5:
 [[errormsg|errorMsg()]]\\ [[errormsg|errorMsg()]]\\
 == Syntax == == Syntax ==
-  string|false ADOConnection::errorNo()+  string ADOConnection::errorNo()
 </WRAP> </WRAP>
 ===== Description ===== ===== Description =====
-The method ''errorNo'' returns an unfriendly error number about the last known error. Note that depending on th DBMS, the message may contain string identifiers.+The method ''errorNo'' returns an unfriendly error code about the last known error. Note that depending on the DBMS, the message may also contain string identifiers.
  
 If there is currently no error, the function returns an empty string If there is currently no error, the function returns an empty string
Line 29: Line 29:
  
 /* /*
- * Get the last error number+ * Get the last error code
  */  */
 $e = $db->errorNo(); $e = $db->errorNo();
v5/reference/connection/errorno.1771811493.txt.gz · Last modified: by mnewnham