This topic is locked

Use Variables In Dfferent Events

6/27/2013 4:59:08 PM
PHPRunner General questions
B
bersani author

I have defined a variable in a "before record added" event and it does not seem to carry over into the "after record added" event. Is there s special syntax to use the variable in different events? It involves the same table.

C
cgphp 6/27/2013

You can use session variables. For example:

$_SESSION['test_var'] = 'test value';