MySQL ID need help.
#1

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?
Reply
#2

Make it an auto-increment in phpMyAdmin
Reply
#3

It doesn't work it needs a default value?

An error has occured in your query. (Field 'ID' doesn't have a default value))
Reply
#4

Look, i won't help with baby steps, figure it out.
Reply
#5

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)