PDA

View Full Version : PHP Code in template?


mse2k
05-21-2010, 07:42 PM
I have vb gallery and like to put in a table. This should have 3 <td> and after this a <tr> I like to put in a php Code like this: <php> if x="3" echo "<tr> else x=x+1 <?php> but it dosnt work. An other idea is:

<vb:if $xgal="3">
<tr>
<vb:else />
$xgal=$xgal+1
</vb:if>

it is not right too. Have anyone an idea? THX