23.03.2013, 11:29
Hey everyone,i know this isn't the right place for it but here i go:
My goal is to make numbers go 1,2,3,4,5 automatic for every player in mysql. (for a car system). So people told me:create a foreign key. So i did. I have 2 tables:
1st. users with column userid(auto increment and primary)
2nd. vehicles with column vehicleid(auto increment and primary)
So I created a foreign key from the vehicles relation view,and now I can't insert any data into the vehicles table. Need help.Any ideas?
My goal is to make numbers go 1,2,3,4,5 automatic for every player in mysql. (for a car system). So people told me:create a foreign key. So i did. I have 2 tables:
1st. users with column userid(auto increment and primary)
2nd. vehicles with column vehicleid(auto increment and primary)
So I created a foreign key from the vehicles relation view,and now I can't insert any data into the vehicles table. Need help.Any ideas?