Connecting online players
I want to create a game that connects two players. The players have to login and then proceed to the playing page.

I have created the code for displaying the online players (from the activePlayer table). What I want is : the player chooses the opponent form the online players list and then the playing page displayed to both players.

I am a beginner in developing a multiplayer game.

Can anyone give me an idea of how to implement that.   
Connecting online players
===

I want to create a game that connects two players. The players have to login and then proceed to the playing page.

I have created the code for displaying the online players (from the activePlayer table). What I want is : the player chooses the opponent form the online players list and then the playing page displayed to both players.

I am a beginner in developing a multiplayer game.

Can anyone give me an idea of how to implement that.   