This topic is locked

Hide labels end field when variable is empty

10/5/2008 4:58:19 AM
PHPRunner General questions
ncreveld author

How to hide labels and field when the field does not contain any data (is empty)?

I used to do it this very this simple way, but in the PHP 5 buil 435 it does not work. (its not PHP)
<TR>

<TD class=editshade_b style="PADDING-LEFT: 20px"

width=150><B>{mlang_message tag="CODE_NUMBER"}</B></TD>

<TD class=editshade_lb style="PADDING-LEFT: 10px" width=250>{$show_CODE_NUMBER}&nbsp; </TD></TR>

[color=#FF0000]{/if}

I upgraded 2 days ago to version 5 and I can't figure out how to tackle the problem.
Can anyone help me?

Nico Creveld

<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=9748&image=1&table=forumtopics' class='bbc_emoticon' alt=':rolleyes:' />