Forum Moderators: coopster
I'm trying to set up a game for my friends and myself, and now i have comed to this point that i want to change the user IDs..
Now the IDs is like:
1,2,3,4,5,6 and so on..
And what I i want is:
1:1 , 1:2 , 1:3 , 2:1 , 2:2 , 2:3
I know its pretty hard for you to help when you dont have my script but can any give me hint of where to start?
I would greatly appreciate it! :D
Regards
The thing now is that all the players has equal "IDs"...:
1:2
1:2
1:2
Heres the relevant codes (i think :P) :
options.php:
$output = (int)($Userid/3); //integer from division
$output .= ":";//separator
$output .= $Userid % 3 + 1;// rest from division by 3
----
players.php:
<td><font face=\"Arial\" size=\"2\">$output</td>
Can you help me out here..? :P