title: how to display a predetermined value in the date field?
body: <p>I like to show  predetermined value in the date field from database.</p>
  
  <pre><code>&lt;?php
      @$row=$cond-&gt;first_row();
  ?&gt;
  
  &lt;input type="date" name="dob" value="&lt;?php echo @$row-&gt;dob;?&gt; "&gt;
  </code></pre>
  
  <p>@$row->dob contains the date fetched from database(My SQL).It is stored as DATE. The displayed date should be in editable form.</p>
  
  <p>This code is not showing the value . I am a starter in php!.. Please help...</p>