This topic is locked

Get id of register on function AfterAdd

8/31/2007 13:00:59
PHPRunner General questions
D
diego author

Olá list

I have a problem to get id of register on function AfterAdd it on add page.

I need to get this to use in event after register adiction.

my code

global $keys;

$idx = $keys["id"];

echo $idx;


This code return me a blank string.
Thank´s

Bad english i from brazil.

=)

Sergey Kornilov admin 9/1/2007

What version of PHPRunner do you use?
I suggest to use PHPRunner 4.1 where $keys collection is available as a parameter in AfterAdd event.