title: Can the id of a mysql table start with 0?
body: <p>I have an array that gives me the order of different of different concepts I have in a table. As it is an array it begins with 0. I have different options to store the order of the concepts. My questions are: </p>
  
  <ol>
  <li><p>Is this correct to make the id of a MySql table begin with 0?. If so, it would be the easiest option  </p></li>
  <li><p>If not, can I make the array begin with 1?  </p></li>
  <li><p>A third option would be to create a column just to store the order. This creates a new problem  when the user creates a new item. As MySql does not accept 2 auto-increment columns.</p></li>
  </ol>
  
  <pre class="lang-php prettyprint-override"><code>$order = $_GET['order'];
  print_r ($order); // this gives: Array ( [0] =&gt; first [1] =&gt; second [2] =&gt; third )
  
  foreach($order as $key =&gt; $value) {
      mysqli_query($con,"UPDATE principal 
                         SET concept = $value
                         WHERE id = $key");
  }
  </code></pre>