list page: after record processed |
11/11/2008 06:11:25 | |
| PHPRunner General questions | ||
|
G
garethp authorDevClub member
Hi if($_SESSION["sor_details_masterkey1"]=="") {$row["1editdetail"] = false; } else {$row["1editdetail"] = true;}
<TD vAlign=middle align=middle>{if $row.1editdetail}<A class=tablelinks2 href="sor_details_edit.php?{$row.1editlink}">Edit</A>{/if} </TD>{/if}
##if @TABLE.bEdit## {BEGIN edit_column} <td align="center" valign=middle> {BEGIN edit_link} <a class=tablelinks {$editlink_attrs}>##message EDIT##</a> {END edit_link} </td> {END edit_column} endif
|
||
|
G
|
garethp authorDevClub member 11/12/2008 |
|
Can anyone help with this - I have tried looking at the phprunner documentation and am getting better but can not work this one out. |
|
|
J
|
Jane 11/12/2008 |
|
Gareth, global $record; if($_SESSION["sor_details_masterkey1"]=="") {$record["edit_link"] = false; } else {$record["edit_link"] = true;} |
|
|
G
|
garethp authorDevClub member 11/12/2008 |
|
Thanks Jane - I am starting to see the beneifts of div now but isn't half confusing! Just as I had got to grips with one language!! |
|