Reputation: 521
Using php, is there a way to redirect to an existing html page with a one line confirmation message.
I want to collect user info, insert it into a database, and then show a confirmation message so the user knows the record
Upvotes: 0
Views: 1590
Reputation: 641
you can use header("Location: yourpage.html");
exit();
It must be used before any output, or you will get a warning message header already sent
Upvotes: 4