I have a select list that is populated deom a mysql DB,
the DB is text feilds so can have any content in that is added by the admin.
If they put in one of the text field for example " more options"
when this is displayed in the list and submitted by a button can if the more options is submitted be sent to a new page?
thanks in advance
choose a value in a select list when submit send to new page
Moderator: General Moderators
-
jonnyfortis
- Forum Contributor
- Posts: 462
- Joined: Tue Jan 10, 2012 6:05 am
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: choose a value in a select list when submit send to new
User the header('Location: http://mysite.com/newpage.php'); to redirect to newpage.php (change the URL to your page).
(#10850)
-
jonnyfortis
- Forum Contributor
- Posts: 462
- Joined: Tue Jan 10, 2012 6:05 am
Re: choose a value in a select list when submit send to new
thanks
you mean use php header? can you elaborate please.
sorry for all the questions
you mean use php header? can you elaborate please.
sorry for all the questions