I see that this will get the last inserted ID:
$e["on_after_insert"] = array("after_insert", null, true); // return last inserted id for further working
but I don't see and docs on how to reference this ID in my function
$LastInsertedID = (what?)
Can you explain how to get the last inserted ID?
You can print_r($data) and check output in firebug insert call response.
It's usually $data["<first-column-name>"]
How useful was this discussion?
Click on a star to rate it!
Average rating / 5. Vote count:
We are sorry that this post was not useful for you!
Let us improve this post!
Thanks for your feedback!