title: jQuery DatePicker, how to show value in input field from database
body: <p>can't find solution to this issue. So i have datepicker input field, it works fine, i can choose date and save it to database. But when i want to edit this saved value in edit_profile.php this field is empty, i need to see the user specified date. How to do it?</p>
  
  <p>Datepicker function:</p>
  
  <pre><code>$(function() {
      $( "#datepicker" ).datepicker({
        dateFormat: "yy-mm-dd",   
        changeMonth: true,
        changeYear: true
      }).val('&lt;?php echo $age;?&gt;');
  
  });
  </code></pre>
  
  <p>Input:</p>
  
  <p><code>&lt;input name="datepicker" type="text" id="datepicker" class="date_picker" value="" /&gt;</code></p>
  
  <p>what to do ?</p>