Tolwin: Stringformatierung funktioniert nicht (Javascript & PHP)

Beitrag lesen

Hallo Forum,
hab heute zwar schon meinen "Nachfragebonus" aufgebraucht :)
hätte da aber noch eine weitere Frage. Hier einmal der Quellcode

-------------------------------------------------------------
function showFilemtime(timestr) {
 var last_change = "Letzte Aktualisierung:";
 timestr = last_change.bold() + timestr;
 document.getElementById("tab_time").firstChild.nodeValue=timestr;
}

</script>
</head>

<body>

<!-- 100% Höhe Tabelle -->
<table height="100%" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr class="TabPageTR">
<td valign="top">

<table border="0" width="100%">
  <tr>
    <td valign="top">
      <table border="0" cellspacing="3" cellpadding="3" width="800">
        <tr>
          <td bgcolor="#f7f3f7" height="40" colspan="4"><font size="2"><b>Berichte</b></font></td>
          <td>&nbsp;</td>
        </tr>

<tr>
          <td bgcolor="#FFFFFF">Hinweise</font></b></td>
        </tr>

<tr>
          <td bgcolor="#f7f3f7" height="105"
---------
usw.....
---------
          <td bgcolor="#f7f3f7" id="tab_time">&nbsp;</td>
        </tr>

<tr>
          <td bgcolor="#f7f3f7" align="left" valign="top" width="150">
            <table border="0" width="100%">
              <tr>
                  <a href="sources/boot_files/blabla.xls" onmouseover="document.getElementById('td1').style.visibility='visible';document.getElementById('tab_time').style.visibility='visible';showFilemtime('<?php
$filename = '/var/opt/blabla.xls';
if (file_exists($filename)) {
 echo date ('d.m.Y', filemtime($filename));
 echo ' Berichte <b>blabla</b> ';
}else {
   echo 'Datei existiert nicht!';
}
?>')" onmouseout="document.getElementById('td1').style.visibility='hidden';document.getElementById('tab_time').style.visibility='hidden';showFilemtime('')";>LINK</a><br>
---------------------------------------------------------------------

Mein Problem besteht darin dass ich in PHP keine html Tags zur Formatierung nutzen kann - diese werden klartextlich dargestellt.
Auf mein Versuch per Javascript zu Formatieren scheiterte mit der klartextlichen Ausgabe.
Bin ziemlich ratlos woran das liegen könnte. Hat jemand einen Tipp?

Gruß
Tolwin