Jump to content
  • 0

Cum imi dau admin din baza de date.


IulianR0

Question

2 answers to this question

Recommended Posts

  • 0

Simplu. Intri in tabul SQL si executi un query de genul

UPDATE users SET Admin=x WHERE Id=1;

Doar ca tu ai alta problema, faptul ca coloana Id nu e primary key si nici auto_incremented si in cazul acesta daca faci alte conturi nu o sa se salveze

Link to comment
Share on other sites

  • 0
6 minutes ago, Banditul said:

Simplu. Intri in tabul SQL si executi un query de genul

UPdate users SET Admin=x WHERE Id=1;

Doar ca tu ai alta problema, faptul ca coloana Id nu e primary key si nici auto_incremented si in cazul acesta daca faci alte conturi nu o sa se salveze

multumesc

Link to comment
Share on other sites

Guest
This topic is now 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. For more details you can also review our Terms of Use and Privacy Policy.