Originariamente inviato da Laxus
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'); 
Ok, grazie, anche se ho notato che così tutti i link finirebbero per puntare alla stessa pagina. La soluzione proposta sotto è giusta?

Codice PHP:
function f($testo$link)
{

echo 
'<tr>
<td class="Menu_1" background="layout/bg_menu_scritte.gif" height="21">
[url='
$link .']'$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''il mio link');