[thelist] best way to do dynamic tabs in PHP

Aleem Bawany aleem.bawany at utoronto.ca
Wed Jan 22 22:51:01 CST 2003


> 	{?>
>
> 	<img src="/_images/<?=$link?>_sel.gif" alt="<?=$link?>"
> border="0" width="<?=$width?>" height="<?=$height?>"
> align="absbottom" name="<?=$link?>" />
>
> 	<?}

you have the space there, that's why it appears.
use ?><img...../><?

it's better to use <?php than <?
it's more portable.




More information about the thelist mailing list