Welcome to the brand new Codemasters Forums! Be sure to check the FAQ
and Forum Rules
before you get started.
What I am trying to do is make a basic attack system i already have parts of it done I just need help figuring out how to do a few specific things.
I have three tables in my mysql databse. one keeps track of the users and thier stats, one keeps tracks of characters and thier stats, and the third is the battle table to store info for the battle and then for recall later.
What I want to do is as an admin pick out the two users from dropdown menus
then pick the two characters they are playing as from dropdown menus
then I want to combine the two stats together from the different tables and put them into the battle table
player1_attack(battle table) = users_attack(picked from dropdown) + characters_attack(picked from dropdown)
May come in the future!