PDA

View Full Version : Easy - Simple Question!!!!


odinzu
06-03-2007, 04:21 AM
Hey fellas, I am trying to change my postbit around abit and I am not to familiar with the php side of the forum. Let me show you what I am trying to do.

<tr><td
style="background-color: #171C1E;border-bottom: 1px solid #3E4548;color: #F9F9F9;font-size: 10px";>

$post[crowns]$post[champtext]
</td>
</tr>

I want that script to check if crowns and champtext have a variable or something stored in it. If not then I want it not to show the table.

Here is an example of my postbit so far. Linky (http://www.haloscene.com/forums/showthread.php?t=9)

Dismounted
06-03-2007, 05:06 AM
<if condition="$post[crowns] AND $post[champtext]">
<tr>
<td
style="background-color: #171C1E;border-bottom: 1px solid #3E4548;color: #F9F9F9;font-size: 10px";>$post[crowns]$post[champtext]</td>
</tr>
</if>

odinzu
06-03-2007, 04:11 PM
thank you!!!