I don't want to use the datepicker because I dont need the year so I create 2 select list where my first select will be the month and the second is the days.
Everything is okay, it will save in my db but here's my problem. I want to display the full name of the month instead of number.
Example:
Accounting Period
(Month list) (Day list)
0-12 1-31
Scenario: I choose oct as my month and 5 is my day.
value="10" Oct value="5" 5
View
Select Month List
<select name="accounting_period_month">'+
'<option value="01">January</option>'+
'<option value="02">February</option>'+
'<option value="03">March</option>'+
'<option value="04">April</option>'+
'<option value="05">May</option>'+
'<option value="06">June</option>'+
'<option value="07">July</option>'+
'<option value="08">August</option>'+
'<option value="09">September</option>'+
'<option value="10">October</option>'+
'<option value="11">November</option>'+
'<option value="12">December</option>'+
'</select>
It will be save as 10 and 5.
View in displaying the month list
{{ date('M',strtotime($company_details->accounting_period_month))}}
NOTE: Don't mind the ' + because I append it in my jquery.
Now my question is how can I display the word Oct instead of 10?