SA-MP Forums Archive
Help with MySQL - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help with MySQL (/showthread.php?tid=90160)



Help with MySQL - _GriLLeX_ - 06.08.2009

Hello, I would like to know how can I get data from a field and save it in a variable.
I use the include a_mysql.inc
Thank you in advance and sorry for my broken English.


Re: Help with MySQL - Dreftas - 06.08.2009

Ask in plugins thread


Re: Help with MySQL - agusfn20 - 06.08.2009

can please u post me the a_mysql.inc? i cant find it anywehere


Re: Help with MySQL - _GriLLeX_ - 06.08.2009

Код:
/*

	MySQL Native Functions

*/

#if defined _mysql_included
	#endinput
#endif
#define _mysql_included


native mysql_connect(host[], user[], database[],password[]);
native mysql_query(query[]);
native mysql_real_escape_string(stringtoescape[],destination[]);
native mysql_fetch_row(line[]);
native mysql_num_rows();
native mysql_num_fields();
native mysql_affected_rows();
native mysql_warning_count();
native mysql_ping();
native mysql_store_result();
native mysql_free_result();
native mysql_stat(destination[]);
native mysql_errno();
native mysql_field_count();
native mysql_close();
native mysql_fetch_int();
native mysql_fetch_float(&Float:result);
native mysql_fetch_field(fieldnr,stringtoreturn[]);
native mysql_fetch_row_format(string[],chartosplit[] = " ");
native mysql_fetch_field_row(string[],fieldname[]);
native mysql_debug(enable = 1);
native mysql_reload();
Thanks for the help