MySQL ReturnPassword
#1

Please convert to MySQL BlueG. Thank you for your help.
Код:
stock MySQL_ReturnPassword(nick[])
{
	new string[128], key[64];
	
	format(string, sizeof(string), "SELECT `Key` FROM `accounts` WHERE `Nickname` = '%s'", nick);

	mysql_query(string);
	mysql_store_result();
	
	if(mysql_retrieve_row())
	{
		mysql_fetch_field_row(key, "Key");
	}
	
	mysql_free_result();
	
	return key;
}
Reply


Messages In This Thread
MySQL ReturnPassword - by KamilPolska - 03.07.2018, 13:50
Re: MySQL ReturnPassword - by Calisthenics - 03.07.2018, 13:55
Re: MySQL ReturnPassword - by KamilPolska - 03.07.2018, 14:25

Forum Jump:


Users browsing this thread: 1 Guest(s)