title: how do i use php as a placeholder in html in laravel?
body: <p>Im trying to set the placeholder of a field to the users name and email that i get using php.
  i can print the email and name in the web page by doing:</p>
  <pre><code>{{$user-&gt;email}}
  {{$user-&gt;name}}
  </code></pre>
  <p>but i want to add it as a placeholder but when i add the above it prints out the whole line instead of the value:</p>
  <p>So i am trying to add it in the following line of code in stead of 'Name' it should be the value of {{$user-&gt;name}}:</p>
  <pre><code>{{Form::text('name', '', ['class' =&gt; 'form-control','placeholder' =&gt; 'Name', 'style' =&gt; 'margin-bottom: 5px;', 'readonly'])}}
  </code></pre>
  <p>how would i add it in place of 'Name'?</p>