Scripting/Squirrel/Functions/mysql errno: Difference between revisions
Jump to navigation
Jump to search
This wiki is using an old backup from 2020
Some information may be old/missing
(Created page with "Returns the last error number of a MySQL connection. == Syntax == <pre>mysql_errno( MySQLConnection handler )</pre> == Arguments == * ''MySQLConnection'' '''handler''' - A v...") |
No edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 13: | Line 13: | ||
<pre>print( mysql_errno( handler ) )</pre> | <pre>print( mysql_errno( handler ) )</pre> | ||
== Related Functions == | |||
{{Scripting/Squirrel/Functions/MySQL Functions}} | |||
[[Category:Scripting/Squirrel/Functions/Mysql_Functions]] |
Latest revision as of 18:27, 30 January 2017
Returns the last error number of a MySQL connection.
Syntax
mysql_errno( MySQLConnection handler )
Arguments
- MySQLConnection handler - A valid MySQL link/handler
Return value
The last error number, zero if nothing failed.
Example
print( mysql_errno( handler ) )