/*************************************
Title: GBook
Version: 1.7
Author:
Demo:
Download:
Website:
Short description: After a user submits a comment, I would like to display a different (static) html page, instead of displaying the notice and the list of comments. Can you point me to the code I would need to modify to do this?
Thank you,
Gayle
*************************************/
(Here below you can write additional info, longer description and comments)
is it possible to change behavior after submit?
Hello Gayle,
In gbook.php (version 1.70) find line 1008
Just before this code at the following:
Greetings,
Henrie
In gbook.php (version 1.70) find line 1008
Code: Select all
} // END addEntry
Code: Select all
header("Location: http://www.mysite.com/mypage.html");
exit();
Henrie
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
Solved: is it possible to change behavior after submit
Thanks, Henrie - that's exactly what I needed to know,
Gayle
Gayle