Unable to edit or delete mysql row data
#1

Hey,

I'm using phpmyadmin on XAMPP to save data for my server. When there is an account in the database it will show it, but I can't edit it. So I can't change the admin level/score/money etc.

Is there a way I can edit it without making a new account everytime?

Thanks
Reply
#2

Use an UPDATE query, for example:
Код:
UPDATE players SET admin=2 WHERE name=<player's name>
Reply
#3

Doesn't work! Any other ideas? Also someone said something about indexes are causing the problem. Whats that's and how do I fix it?
Reply
#4

You need to have PRIMARY and UNIQUE keys.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)