I have a page (dept_select) with two drop down lists populated from a table
in a MySQL Database. If one item is selected in either of the lists I need
to go to one page (5-14_select_area.php). If any other item is selected I
need to go to another page (add_new_resources.php) but I need to pass the
selected items to add_new_resources.php.

At the moment I have created a page between dept_select.php and the other
pages and added the following code to it:
if ($department=="5-14 Curriculum")
elseif ($level=="5-14 Curriculum")

I have tried creating a form on the page and passing the variables via
hidden fields but have not got this to work. If anyone can understand what I
am trying to do I would be grateful for any help.

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to