title: How to concatenate multiple strings in php?
body: <p>I want to concatenate 3 strings. For first string I am splitting it to get first 4 letters. Another is <code>user_name</code> and the last is <code>date_of_application</code>. </p>
  
  <p>we use <code>.</code>(dot operator) in PHP. But as I am doing in this, In result first two strings are concatenated well but third i.e. <code>date_of_application</code>, only first 2 or 4 letters are getting concatenated not the whole string.</p>
  
  <pre><code>$this-&gt; member_id = mb_substr($this-&gt;country, 0, 4) . $this-&gt;user_name . $this-&gt;date_of_application;
  </code></pre>
  
  <p><strong>Input:</strong></p>
  
  <p>28/08/2016,28082016</p>
  
  <p><strong>results:</strong></p>
  
  <p>Indisid128/0, Indisiddhi28</p>
  
  <p>EDIT:</p>
  
  <p>I want to get the digits from date.Input date can be in any format. For example- if input date is 28 Aug 2016. The output should be concatenated string _ 28082016. How can I get this?</p>
  
  <p>What's going wrong?</p>