ciao,prova così
Codice PHP:
echo "<td> [img]http://www.?.it/".$immagine2."[/img]</td>"