| Index
» Projekty
» phpMyEdit
» Fórum
» Triggers |
 |
newmikey
Založený: 23.10.2003
Príspevky: 2
Zaslal: 2003-10-23 09:53
Návrat hore
Odpovedať s citátom
|
As I can't seem to find a search functionality in this forum the question may have already been asked:
How exactly can the variables like $newvals, $this->key
etc be used in a trigger file?
I would like to use a TIA (after insert trigger) to extract the newly added record ID from $newvals and put it in a $_SESSION variable to be processed by another page.
Hope to find answers
Mike
|
michal
Založený: 17.06.2003
Príspevky: 537
Bydlisko: Slovakia
Zaslal: 2003-10-23 21:18
Návrat hore
Odpovedať s citátom
|
trigers are put into action via include,
$ret = include($this->triggers['insert']['before']);
so all variables are addressed normally, as if they were declared within the trigger file.
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|
|