| Index
» Projekty
» phpMyEdit
» Fórum
» Linking UID to logtable |
 |
RuiLapa
Založený: 04.09.2006
Príspevky: 1
Zaslal: 2006-09-04 17:37
Návrat hore
Odpovedať s citátom
|
Users:
Id bigint(10)
Name varchar(30)
Password varchar(30)
I would like to know who and what changed in the table.
For that I've configured 'logtable'.
I'm trying to link the Users record to the logtable without success.
$opts['fdd']['Id'] = array(
'name' => 'History',
'select' => 'D',
'display' => 'V',
'options' => 'VL',
'values' => array(
'table' => $opts['logtable'],
'column' => 'rowkey',
'filters' => sprintf ("tab='%s' AND operation='update'", $opts['tb'] ),
'description' => array(
'columns' => array('rowkey', 'col', 'oldval', 'newval'),
'divs' => array(' ', ':', '->')
)
),
);
Any help would be appreciated.
|
michal
Založený: 17.06.2003
Príspevky: 537
Bydlisko: Slovakia
Zaslal: 2006-09-06 15:54
Návrat hore
Odpovedať s citátom
|
afaik, you are trying to make a n to m connection, which is really hard.
it would be easy to create an interface to logtable, make links to users and records. then use $opts['filters'] to limit the query.
then just create a link history to the logtable with appropriate filters.
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|
|