Jump to content

Advice needed!


joebudden

Recommended Posts

Hi guys, Im writing a game in php and have so far implemented code to enable a user to:

-- Select 5 players from a table of players and add the player id to a new table in the db
    along with the session variables - $gameid and $gamename

Now the user has selected their team, they need a team to play against.

so.....

I was wondering if there was a way, at the same time as the above, to insert 5 other players at random.
And insert the player id's and the session variables???

Im sure this is possible so if anyone has any ideas that would be great!!!

cheers

Link to comment
https://forums.phpfreaks.com/topic/34327-advice-needed/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.