Codice PHP:

function f($testo)
{

echo 
'<tr>
<td class="Menu_1" background="layout/bg_menu_scritte.gif" height="21">
[url="links.php"]'
$testo .'[/url]</td>
<td class="Menu_1" background="layout/bg_menu_scritte.gif" height="21">
[img]layout/freccia_menu.gif[/img]</td>
</tr>'
;

}


// usare così:
f('il mio testo');