I want to enter the full name of the month and in response i want to get the number of the month. i have tried following code, when i pass the "March" as month name it return me "1".is there any way to get the number of the month in php?
$month_number = date('n', strtotime($string));