Conversion
#1

What is the Stikenkids MySql plugin equivilent of these GStylez MySql plugins functions?


mysql_query(Query);
mysql_free_result();
if(mysql_num_rows() > 0)
while(mysql_fetch_row(Str))
mysql_store_result();
mysql_free_result();
Reply
#2

Functions:

native MySQL:mysql_init(logtype = LOG_ONLY_ERRORS, printerrors = 1);
native mysql_connect(const host[], const user[], const pass[], const db[], MySQL:handle = (MySQL:0), auto_reconnect = 0);
native mysql_close(MySQL:handle = MySQL:0);
native mysql_refresh(options, MySQL:handle = MySQL:0);
native mysql_select_db(const db[], MySQL:handle = MySQL:0);
native mysql_query(const query[], resultid = (-1), spareid = (0), MySQL:handle = MySQL:0);
native mysql_query_array(const query[], resultid = (-1), {Float,_}:extravars[], MySQL:handle = (MySQL:0));
native mysql_store_result(MySQL:handle = MySQL:0);
native mysql_free_result(MySQL:handle = MySQL:0);
native mysql_result_stored(MySQL:handle = MySQL:0);
native mysql_fetch_field(const fieldname[], dest[], MySQL:handle = MySQL:0);
native mysql_fetch_field_num(fieldnum, dest[], MySQL:handle = MySQL:0);
native mysql_fetch_row(dest[], const splitter[] = "|", MySQL:handle = MySQL:0);
native mysql_fetch_row_data(MySQL:handle = MySQL:0);
native mysql_real_escape_string(const string[], dest[], MySQL:handle = MySQL:0);
native mysql_num_rows(MySQL:handle = MySQL:0);
native mysql_num_fields(MySQL:handle = MySQL:0);
native mysql_affected_rows(MySQL:handle = MySQL:0);
native mysql_insert_id(MySQL:handle = MySQL:0);
native mysql_ping(MySQL:handle = MySQL:0);
native mysql_error(dest[], MySQL:handle = MySQL:0);
native mysql_errno(MySQL:handle = MySQL:0);
native mysql_warning_count(MySQL:handle = MySQL:0();
native mysql_info(dest[], MySQL:handle = MySQL:0);
native mysql_stat(dest[], MySQL:handle = MySQL:0);
native mysql_get_server_info(dest[], MySQL:handle = MySQL:0);
native mysql_get_host_info(dest[], MySQL:handle = MySQL:0);
native mysql_data_seek(rownum, MySQL:handle = MySQL:0);
native mysql_set_character_set(const csname[], MySQL:handle = MySQL:0);
native mysql_get_character_set(csname[], MySQL:handle = MySQL:0);
native mysql_fetch_int(MySQL:handle = MySQL:0);
native mysql_fetch_float(MySQL:handle = MySQL:0);
native mysql_fetch_string(dest[], MySQL:handle = MySQL:0);


https://sampforum.blast.hk/showthread.php?tid=122983 read here no?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)