This topic is locked

Landing Page on Add

1/19/2006 12:44:59 AM
PHPRunner General questions
jimhnet author

I'm running 3.0(build 83) and trying to setup landing page after record add.
I added the following to the after record added:
function AfterAdd()

{

//** Redirect to another page ****

header("http://www.dalpilotltd.org";);
}
The screen just does "record added" and cycles back with the form to enter another record.
Is this the way we are supposed to do a landing page or did I miss something.
I'm impressed with the update.
Thanks
Jim Freeman
PS When are you goin to have new tutorials etc.?

admin 1/19/2006

Jim,
here is the snippet you can use to redirect to landing page:

header("Location: http://www.dalpilotltd.org");;