title: How to insert URL saved in database to URL helper in Laravel view?
body: <p>Here's my problem. I fetch the URL/s from the database. For example,</p>
  
  <pre><code>{{$items-&gt;url}} //this contains the URL
  </code></pre>
  
  <p>In my nav bar, if I hard-coded the link. This works:</p>
  
  <pre><code>&lt;li&gt;&lt;a href="{{ url('/input') }}"&gt;Input/a&gt;&lt;/li&gt;
  </code></pre>
  
  <p>But I want to insert the variable in the <code>&lt;a&gt;</code> tag, but this doesn't work</p>
  
  <pre><code>&lt;li&gt;&lt;a href="{{ url ('{{$items-&gt;url}}') }}"&gt;Input&lt;/a&gt;&lt;/li&gt;
  </code></pre>
  
  <p>It always return the error below:</p>
  
  <pre><code>syntax error, unexpected '{'
  </code></pre>
  
  <p>Can someone suggest a possible way to print the value of $items->url? Thanks!</p>