Line 11 contains $title which I want to show up as bold, hence mny bold tags
However final output file, which calls up $filename,
does not display in bold
and the font size \4\ in line 7 also does not show up as size 4.
How can I fix this ?
[?php]
$filename="blog.html";
$date=date("d-m-Y");
$time=date("Hâ“‚s");
$f=fopen($filename, "w+");
fwrite($f, "<table width=\"600\" border=\"0\" cellspacing=\"5\" cellpadding=\"2\"><tr>\r\n");
fwrite($f, "<td width=\"450\"><font size=\"4\" face=\"Arial, Helvetica, sans-serif\"><b>$title</b></font></td>\r\n");
fwrite($f, "<td width=\"150\"><font size=\"4\" face=\"Arial, Helvetica, sans-serif\">$date at $time</font></td>\r\n");
fwrite($f, "</tr><tr>\r\n");
fwrite($f, "<td colspan=\"2\"><font size=\"4\" face=\"Arial, Helvetica, sans-serif\">$newsitem</font></td>\r\n");
fwrite($f, "</tr></table>\r\n");
fwrite($f, "<br>\r\n");
fclose($f);
?]