title: apply css class to input field in php
body: <p>edit.php</p>
  
  <pre><code>&lt;div class="detail1"&gt;
  &lt;?php echo Form::label("birth_date", "Date of Birth");  ?&gt;
  &lt;?php echo Form::input("birth_date", $userdetails-&gt;birth_date,array('disabled' =&gt; 'disabled','class'=&gt;'input-form)); ?&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>The above is my code for date input field,i am trying to reduce the length of the text box,if i include any css class inside the label tag or input tag i am getting an syntax error.I am not able to add any css property to this field.How to apply css class to the above field.</p>