title: How to create an auto increment field in WordPress db
body: <p>How can I create an auto increment field in WordPress db? I'm writing a plugin and would like to create this field to be used as reference that will be used elsewhere in the plugin. I've been searching but haven't found it yet. Not specific to WP that is. Any suggestions? This is related to this question: <a href="https://stackoverflow.com/questions/16884761/js-php-how-to-implement-a-live-and-persistent-counter/16884996?noredirect=1#16884996">JS/PHP: How to implement a live and persistent counter?</a></p>