Locked Posted May 15, 2008 Share Posted May 15, 2008 Hey should be a simple question. Im setting up a table for banned ips, each ip will be unique (no need to ban the same ip more than once) and it will hold a reason, would it be better to ad a id feild with autoinc or should i just leave the id feild out? Link to comment https://forums.phpfreaks.com/topic/105756-solved-database-question/ Share on other sites More sharing options...
StormTheGates Posted May 15, 2008 Share Posted May 15, 2008 I always put in an autoinc ID field. Makes sorting and managing things in the future much easier. And really any overhead it adds is negligible. Link to comment https://forums.phpfreaks.com/topic/105756-solved-database-question/#findComment-541880 Share on other sites More sharing options...
Locked Posted May 15, 2008 Author Share Posted May 15, 2008 Ty exactly the type of answer i was looking for =) Link to comment https://forums.phpfreaks.com/topic/105756-solved-database-question/#findComment-541888 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.