hello . this line is giving me headaches... I might be too tired and thus can't see it... but there is an unexpected T string somewhere... <td $i="" :$i="" echo="" $i="" background="/images/top-icons3/header_<?php $i=rand(1,4); $i=$i<=9?" width="748">.jpg"><a href="/vb"><img src="/images/banner/50x50_transparent.gif" border="0" height="112" width="98%" /></a> </td> PHP: can you see it ?
I don't understand what you're trying to accomplish. Because the code is pretty uninterpretable. <td background="/images/top-icons3/header_<?=rand(1,4);?>.jpg" width="748"><a href="/vb"><img src="/images/banner/50x50_transparent.gif" border="0" height="112" width="98%" /></a> </td> Is that what you want? That is proper PHP syntax. If you want that inside a normal php echo: echo '<td background="/images/top-icons3/header_'.rand(1,4).'.jpg" width="748"><a href="/vb"><img src="/images/banner/50x50_transparent.gif" border="0" height="112" width="98%" /></a> </td>';
aaaaaaaah. thank you Sir. found it : <td width="748" background="/images/top-icons3/header_<?php $i=rand(1,4); $i=$i<=9?"0$i":$i; echo $i;?>.jpg"> <a href="/vb"><img border="0" src="/images/banner/50x50_transparent.gif" width="98%" height="112"></a> </td> PHP: