I have a page that includes a switch statement that is switched on a form value.
The page gets the variable from the form calls the switch and gets another value.
Works great.
In that same page there is another include that does some other things buts requires the value from the switch statement but is nor receiving it.
Can the value be passed among pages that included in the main page?
<?php
$category = $_POST['category']; //form value
require("cat_switch.php"); // switch value returned
require("member_pic1_inc.php"); //this page doesn't get the switch value passed to it
?>
Any suggestions
Thanks for the help