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

Wow. I could've thought of that but I kept making it sound more complicated than it is. Thanks man. I really appreciate it.

Edit:

Well actually, that code is only for one number. Suppose the interval of numbers is let's say 1-100. Instead of rewriting the code 100 times, how can I fit it all into a few lines?

Edit(2):

Nevermind. I got it. I set the strval(tmp) to %d. Thank you so much.
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: 2 Guest(s)