18.01.2015, 11:11
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.
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.