Sorry - hope this clears things up....
The page customer.php is loaded into customer_frames.php using an <iframe> tag. (And that part works fine)
Now, customer.php relies on another page, general_functions.php to tell it what to do. This is where the include() function comes in...
Although customer.php will include general_functions.php when the page is opened stand-alone, if it is opened into an iframe, it just refuses to include anything.
So this is what I'm trying to do:
customer_frames.php
............. |
............. | ~iframe~
............. |
...... customer.php --------------- general_functions.php
............................... ~include()~