Retrieving a value which can't be used twice.
#1

Hi

I have a row in my MySQL database that holds a unique value for each player. The players can choose this value themselves upon registration and I want to detect whether their input value is already in use or not.

I know how to select the field from my database but how can I then make an IF statement when the input value of the player is already in use or not.

Thanks in advance.
Reply


Messages In This Thread
Retrieving a value which can't be used twice. - by AndySedeyn - 18.01.2015, 11:11
Re: Retrieving a value which can't be used twice. - by PowerPC603 - 18.01.2015, 11:19
Re: Retrieving a value which can't be used twice. - by Misiur - 18.01.2015, 11:20
Re: Retrieving a value which can't be used twice. - by AndySedeyn - 18.01.2015, 11:23
Re : Retrieving a value which can't be used twice. - by Dutheil - 18.01.2015, 11:26
Re: Retrieving a value which can't be used twice. - by Ironboy - 18.01.2015, 11:32

Forum Jump:


Users browsing this thread: 1 Guest(s)