Redirect After Successful Submission

In online forms such as membership signup, login etc, all require the form to redirect to another page such as welcome page after successful form submission. PHP Database Form has a method called redirect_after_submit() to handle redirect.

// ... code omitted
$dbForm -> load_form(9);
$dbForm -> redirect_after_submit("http://example.com");
$dbForm -> display();

Live demo

No related content found.

Tags: ,

PHP Database Form
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.