A small MYSQL storing/retrieving data based command. How?
#9

Quote:
Originally Posted by Noris
Посмотреть сообщение
PHP код:
#1146 - Table 'stratumrp.factions' doesn't exist 
Weird, even though ive already created that table.
Are you sure you created the table in the database "stratumrp"? Posting some screenshots would be useful for us.

Quote:
Originally Posted by Vince
Посмотреть сообщение
Needs one more column to store rank. The player with the highest rank is then automatically the leader, so a faction can't be leaderless.
Good idea. I suppose when a player is deleted from the main table, leader should be set to null on its own and with a query to check if leader is null to load the player's name with the highest rank instead.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)