this line causes the error :
mysql_query("insert into users(nickname,password,email,signature) values('$nickname','$password','$email','$signature')") or die(mysql_error());
i set the id field to a primary key and when
i attempt to insert data into the database the error displays. nevertheless, when i drop the id field from being a primary key the error doesn't display.
how can i make the id field be a primary key and fix the error?