sorry, the confusing question.
Now i explain it in this way:
I have a frameset with more than 2 frames, let's say 2.
Frame No.1 is a ticker page which shows rolling real time messages. It has a php data called 1.php.
Frame No.2 is a main page which shows different senarios (like in the portal, user can enter chat, forum, shopping center...) and each such senario is called by different php data. it is controlled by a menu in javascript somewhere in the frameset. Let's say when the user enter the shopping center senario and shop.php is loaded accordingly. At this time, i would like to make the ticker page in Frame No.1 automatically show the news of the top 10 shopping articels of shopping center. I should refresh the 1.php in shop.php. I hope it is clear with the question.
Thanks for the help!
Evic wrote:
I don't quite understand the question. What I think is this:
You have a frames page (we'll call it index.html).
Index.html:
Contains frameset code to load 1.php and 2.php in the 2 frames.
Do you want to run a different script from 1.php and 2.php? If so just put a require("filename.php"); in there.
You say "I would like to call the php in frame No.2 when the php program in frame No.1 is loaded."
So I think you want 2.php to run when 1.php is run correct? if so there is nothing you need to so. When the frameset page (index.html) loads it will load 1.php and 2.php.
If this is not the answer you are looking for please clarify your question.