title: Concentrate text not function properly (Yii2 framework)
body: <p>I want to concentrate some text from another table and put it in a new field.</p>
  <pre class="lang-php prettyprint-override"><code>$model1 = new CourseDetails();
  
  $model1-&gt;course_shortform= CourseDetails::find()-&gt;select('course_shortform')-&gt;where(['course_name'=&gt;$model-&gt;course_name]);
  </code></pre>
  <p>And then using the code below I was able to get the value from another table to fill in the field like so:</p>
  <pre class="lang-php prettyprint-override"><code>$model-&gt;intake_no = $model1-&gt;course_shortform;
  </code></pre>
  <p>Its all going well until i wanted to add some text for the intake no column:</p>
  <pre class="lang-php prettyprint-override"><code>$model-&gt;intake_no = $model1-&gt;course_shortform . &quot;This is new text&quot; ;
  </code></pre>
  <p>The system didn't display errors but it will show the text like this:</p>
  <p><a href="https://i.stack.imgur.com/N7z1Q.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/N7z1Q.png" alt="ref" /></a></p>
  <p>I wonder if got some alternative method to concentrate the text but I can't figure it out. I will glad if someone can help.</p>