Conditional Field Heading |
10/30/2007 10:07:29 AM |
PHPRunner General questions | |
O
osluk author
I have a project where wine tasting notes may or may not be present. |
|
J
|
Jane 10/31/2007 |
Chris, <TR> ... <TD>Tasting Notes:</TD> ... </tr> and replace it with this one: {if $show_TastingNotes} <TR> ... <TD>Tasting Notes:</TD> ... </tr> {/if}
|
O
|
osluk author 11/2/2007 |
Jane that is perfect |
M
|
mmponline 11/3/2007 |
Further expantion: |
J
|
Jane 11/6/2007 |
Stephan, global $data,$conn; $str = "select longdescription from TableName where title='".$data["title"]."'"; $rs = db_query($str,$conn); $data = db_fetch_array($rs); if ($data["longdescription"]) $value = "<a href=\"tablename_view.php?editid1=".$data["ID"]."\">view page</a>"; |
C
|
chaz 11/6/2007 |
how how do u do this for the mastr-slave relationship listing......there is a link to the foreign table but how do u allow a link ONLY where there is data in the foreign key |
J
|
Jane 11/7/2007 |
Hi,
|