Are you sending the value selected in the top frame as it is or are you calculating something (perhaps using some database vales) to come up with what should be displayed in the bottom frame? Generally this should be possible using Javascript or AJAX(if you need to use database values).
Hi r035198x,
Thanks for the help. The value from the top frame is being dynamically generated from a database and that "value" is what I need to be passed in the lower "main" frameset. I'm not calculating anything per se but only querying for the value to be passed.
I must admit that it has been probably 10 years since I have done anything with frames and I have forgotten most of what I knew. I think it is possible to get the value from frame1 into frame2; I just think part of my problem is my lack of knowledge of frames.
What I have done and it actually seems to be working is that I have changed the name in the form tag from index.php to body.php. Body.php is what will handle most of the db processing and then rendered to the lower frame.
When I made that change, it worked perfect. I can see the post var being echo'd just fine. Is this the way that frames should work?
Another thing that bothers me is since the body.php will be doing the processing, I will need to pass the value of the top frame into it. How am I going to handle that? Should I pass the value into the index.php where the frameset resides or pass it into the body.php file?
BTW: I feel honored that the actual admin of the site (with over 10k posts) answered me. :)
Thanks,
Frank
EDIT:
I had forgotten to add that the "frame src" must be a file.
- <frame src=\"body.php\" name=\"main\">\n";
How would I instantiate an object in place of the file? I would like to use OO methodologies here.