0
Good morning! I would like to know how I do to list the data of a table and assign value to each of them! Example:
Table: character Columns: ID and name
I would like to take all the names that have the same id, and list them on a page each with the value of their own name! I do not know if it was clear :x I Await Answers.
How can multiple users have the same ID ?
– Edilson
Because this id is in case the account ID, so one account can have several characters understand? :D
– GGirotto
Okay, I still don’t fully understand :/, but I’ll write a code.
– Edilson
Like this I’ll explain better: Each user account has an account_id. However, each account can have more than one character, who will be saved with the account_id id id to know which account they are linked to, but with the name of the character who is. Example: Account account_id 1 with the characters player 1 and player 2. What I want to do, is to list all the players assigned to an account and apply to them the id and name of their own names, that is, player and player 2 so that I can make changes to each one’s column. I don’t know if it’s clearer now :X
– GGirotto