I have two pages. one is insert_events.php and the other is veiw_events.
In insert_events i have a form which have a submit button.
I want when i click on the submit button, it redirects me to the view_events.php page showing the events.
Any idea about this problem will be appreciated.
Thanks
How to redirect to another page on the submit button of form
Moderator: General Moderators
-
d3ad1ysp0rk
- Forum Donator
- Posts: 1661
- Joined: Mon Oct 20, 2003 8:31 pm
- Location: Maine, USA
Re: How to redirect to another page on the submit button of
I assume you want to process the data they submitted before redirecting?
I would have the form submit to the same page (insert_events.php), then redirect using the Location header.
I would have the form submit to the same page (insert_events.php), then redirect using the Location header.