C
|
cgphp 11/8/2011 |
In the Query tab create an alias for one of the fields of the detail table : SELECT
$value = "<a href='detailtablename_view.php?editid1=".$data['id_field_of_detail_table']."'>Click here</a>";
if(basename($_SERVER['PHP_SELF']) != 'mastertablename_view.php') |
W
|
wildwally author 11/8/2011 |
Perfect, can you point me in the right direction of hiding the dtablelink to all users but admin? |
C
|
cgphp 11/8/2011 |
If the alias name is link the right code is: $xt->assign("link_fieldcolumn",FALSE); |
W
|
wildwally author 11/8/2011 |
I was able to get the code you provided working just as explained. |
C
|
cgphp 11/8/2011 |
It would be easier to delete them and make your own. |