MySQL ID need help. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: MySQL ID need help. (
/showthread.php?tid=156079)
MySQL ID need help. -
oliverrud - 20.06.2010
Hey I'm currently trying to add so that when you register your account will get a ID a unique one, but I need it like the next one would get ID 1 if the other one got ID 0 so it all the time goes + 1 everytime someone registers, how can I do that?
Re: MySQL ID need help. -
coole210 - 20.06.2010
Make it an auto-increment in phpMyAdmin
Re: MySQL ID need help. -
oliverrud - 20.06.2010
It doesn't work it needs a default value?
An error has occured in your query. (Field 'ID' doesn't have a default value))
Re: MySQL ID need help. -
coole210 - 20.06.2010
Look, i won't help with baby steps, figure it out.
Re: MySQL ID need help. -
oliverrud - 20.06.2010
Quote:
Originally Posted by Coole[AG
]
Look, i won't help with baby steps, figure it out.
|
No worries I got it figured out, anyways thanks for your tip.