title: How can i make seperate phone numbers in php post forms?
body: <p><strong>Hi guys, i need little help! :)</strong></p>
  
  <p><strong>Here is the example!
  when ppl write phone box result that 55555555555, but when form submit/post that i want result like that 555-555-55-55 is there any example for it? thanks for help.</strong></p>
  
  <pre><code>&lt;input type="text" id="phone" class="form-icon form-icon-phone" name="phone" data-required="" autocomplete="off" /&gt;
  </code></pre>
  
  <p>postform.php</p>
  
  <pre><code>$phone = $_POST["phone"];
  </code></pre>
  
  <p><strong>is there any example for it?</strong></p>