02.07.2012, 13:10
Hello, all
I have special function written to R6 MySQL plugin
How can I rewrite it on R7 version?
Sorry for my English
I have special function written to R6 MySQL plugin
How can I rewrite it on R7 version?
Quote:
stock fromUnixTime(time) { new unbantime[25]; format(str, sizeof(str), "SELECT FROM_UNIXTIME( %d )", time); if(mysql_query(str) && mysql_store_result()) { mysql_fetch_row_format(unbantime); } mysql_free_result(); return unbantime; } |