title: concatenation in laravel controller goes wrong
body: <pre><code>$data = &lt;div class=""&gt;
      &lt;h3&gt;&lt;a class="text-dark" href=" url("/notice_details/'.$n-&gt;id.'")"&gt;'.$n-&gt;title.'&lt;/a&gt;**&lt;/h3&gt;
  
      &lt;p class="text-muted"&gt;&lt;i class="mdi mdi-calendar m-r-5"&gt;&lt;/i&gt;Posted on :'.$n-&gt;date.'&lt;/p&gt;
  
      &lt;p class="font-13 text-muted m-b-0"&gt;
           '.$string.'
      &lt;/p&gt;
  &lt;/div&gt;   
  </code></pre>
  
  <p>this is the code in my controller(laravel project 5.5) want to generate the url in view like <code>localhost/learning/notice_details/1</code> in my project <code>url()</code> returns localhost/learning but i m unable to genrate the right href link may something wrong with concatenation or .... ??</p>