title: Rename keys in array PHP
body: <p>Hey all:
  I have this array: </p>
  
  <pre>
  $names = array('a','b','c'); 
  foreach($names as $key => $value ) {
      echo $key;
  }
  </pre>
  
  <p>where <code>a, b, c</code> come from a name[] field </p>
  
  <p>The input is:</p>
  
  <pre>
  0
  1
  2
  </pre>
  
  <p>There is an array function to replace the output result as:</p>
  
  <pre>
  1
  2
  3
  </pre>
  
  <p>I want to rename the first key because I'll insert theme into a mysql table. </p>