Storing Player Numbers In MYSQL Without Two Numbers Being The Same
#2

pawn Код:
format(string,sizeof(string),"SELECT * FROM `table where the info stored` WHERE `number`='%d'",number);
samp_mysql_query(string);
samp_mysql_store_result();
whie(samp_mysql_fetch_row(query))
  print("Number already exists.");
else print("Number doesn't exist.");
Reply


Messages In This Thread
Storing Player Numbers In MYSQL Without Two Numbers Being The Same - by Kenny990 - 28.06.2009, 20:51
Re: Storing Player Numbers In MYSQL Without Two Numbers Being The Same - by MenaceX^ - 28.06.2009, 21:08
Re: Storing Player Numbers In MYSQL Without Two Numbers Being The Same - by Kenny990 - 29.06.2009, 00:06
Re: Storing Player Numbers In MYSQL Without Two Numbers Being The Same - by Kenny990 - 29.06.2009, 02:10

Forum Jump:


Users browsing this thread: 1 Guest(s)