title: leading zero in varchar field in settings table
body: <p>In my database I've got a table called settings. It has two columns, <code>name</code> and <code>value</code>.</p>
  
  <p>I'm trying to insert a phone number, for example <code>0612345678</code> in it.</p>
  
  <p>It keeps removing the leading zero (result <code>612345678</code>).</p>
  
  <p>I use <code>$value = strval($value);</code> to be sure that PHP passes the value as a string (which I can confirm, works).</p>
  
  <p>Is this a MySQL default setting or can I fix this?</p>