This topic is locked

Change formatting based on value

8/16/2009 7:07:26 PM
PHPRunner General questions
S
Stucco author

I would like to change the formatting of a table row in the list view based on the value of a db col available in the edit and add views. I want to just add simple bold html around the title of the row.
I would think it is something like
if($record['monitor'] == "1")

echo "<B>";

if($record['monitor'] == "1")

echo "</B>";

J
Jane 8/17/2009
S
Stucco author 8/20/2009



Hi,
please check this thread:

<a href="http://www.asprunner.com/forums/index.php?showtopic=6413"; target="_blank">http://www.asprunner.com/forums/index.php?showtopic=6413</a>;


Thank you that was very helpful.