title: How to display html month tag input already saved in sql in format Month, year?
body: <p>I have used html input month tag to take a calender entry as was required by client, it was saved as text in sqldatabase table, its in format 2019-03 where as I need it in March-2019 format..</p>
  
  <p>I have used date_format(), date(), strtotime() but its of no use because the input tag is not completely in date format ... and i searched stackoverflow for answers too but could not find any. </p>
  
  <p>When taking input from user</p>
  
  <pre><code>&lt;input name= 'apmtr' type= 'month' id='datePicker' value='&lt;?php set_value('apmtr');?&gt;' class='form-control required'&gt;
  </code></pre>
  
  <p>when displaying it to user</p>
  
  <pre><code>&lt;?php echo $dsr[0]['apmtr'];?&gt;
  </code></pre>
  
  <p>I need it in March-2019 when taking value from database only using php. </p>