Page 1 of 1

choose a value in a select list when submit send to new page

Posted: Thu Sep 13, 2012 8:48 am
by jonnyfortis
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

Re: choose a value in a select list when submit send to new

Posted: Thu Sep 13, 2012 3:25 pm
by Christopher
User the header('Location: http://mysite.com/newpage.php'); to redirect to newpage.php (change the URL to your page).

Re: choose a value in a select list when submit send to new

Posted: Thu Sep 13, 2012 4:24 pm
by jonnyfortis
thanks

you mean use php header? can you elaborate please.

sorry for all the questions