After successful insert new record, redirect to another page Default: We now add a GET parameter so you can access the primary key of the inserted record (since phpLens 2.4.1):
$lens->redirectOnInsert = 'http://server.com/page.php';
will generate the redirect following for the primary key '1234'.
'http://server.com/page.php?lens_p1=1234'
PhpLens will detect whether you have existing GET parameters in your URL, and use ? or & as appropriate. Basic:Yes Advanced/Enterprise:Yes DynamicEdit:Yes [Version 1.0]
|