Scripting/Squirrel/Functions/mysql errno

From Vice City Multiplayer
Revision as of 19:32, 4 March 2016 by KAKAN (talk | contribs) (Created page with "Returns the last error number of a MySQL connection. == Syntax == <pre>mysql_errno( MySQLConnection handler )</pre> == Arguments == * ''MySQLConnection'' '''handler''' - A v...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Caution icon
This wiki is using an old backup from 2020
Some information may be old/missing

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 ) )

By KAKAN