<?php
$a=array('1'=>'Jan', '2'=>'Feb','3'=>'Mar');
print_r($a);
$str ="<p>Due Month</p>";
echo str_replace("Month","(Jan+Feb+Mar)","Due Month");
?>
Desire Output:
Due (Jan+Feb+Mar)
How can I get this output from array using str_replace function?