How to format font style and color in echo

The Solution to How to format font style and color in echo is


foreach($months as $key => $month){
  if(strpos($filename,$month)!==false){
        echo "<div style ='font:11px/21px Arial,tahoma,sans-serif;color:#ff0000'> Movie List for $key 2013</div>";
    }
}

~ Answered on 2013-06-03 17:35:18


Most Viewed Questions: