mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-26 14:55:36 +03:00
20 lines
383 B
PHP
20 lines
383 B
PHP
|
/* SQL Database API
|
||
|
* By the AMX Mod X Development Team
|
||
|
*/
|
||
|
|
||
|
#if defined _dbi_included
|
||
|
#endinput
|
||
|
#endif
|
||
|
#define _dbi_included
|
||
|
|
||
|
native dbi_connect(host[], user[], pass[], dbname[], error[]="", maxlength=1);
|
||
|
|
||
|
native dbi_query(sql, query[], {Float,_}:...);
|
||
|
|
||
|
native dbi_nextrow(sql);
|
||
|
|
||
|
native dbi_getfield(sql, fieldnum, dest[], maxlen);
|
||
|
|
||
|
native dbi_close(sql);
|
||
|
|
||
|
native dbi_error(sql);
|