C
|
cgphp 7/18/2011 |
You don't need to select the last entered id. PHPrunner does the job for you. The following code is what you need in the "after record added" event: header("Location: new_models_view.php?editid1=".$values['ID']); |
H
|
hsan author 7/18/2011 |
You don't need to select the last entered id. PHPrunner does the job for you. The following code is what you need in the "after record added" event: header("Location: new_models_view.php?editid1=".$values['ID']);
|
C
|
cgphp 7/18/2011 |
If the foreign key field is in the saved record (for example you've chosen it from a dropdown): header("Location: new_models_view.php?editid1=".$values['ID']."&editid2=".$values['foreignkey_field_name']); |
H
|
hsan author 7/18/2011 |
If the foreign key field is in the saved record (for example you've chosen it from a dropdown): header("Location: new_models_view.php?editid1=".$values['ID']."&editid2=".$values['foreignkey_field_name']);
|