new_to_php Posted May 22, 2007 Share Posted May 22, 2007 Hi , My Problem is : In my FIRST HTML page I have 2 frames (vertical). In frame 1 mypage.html is displayed. ( <FRAME SRC="mypage.html" NAME="frame1"> ) in mypage.html , I have a SUBMIT button. When I click that It will call a PHP script .In that some calculations will be done and results are stored in one array. My requirement is display that array contents in my FIRST HTML page's SECOND frame. please suggest me a solution. Quote Link to comment https://forums.phpfreaks.com/topic/52473-problem-with-php-and-html-frames/ Share on other sites More sharing options...
MasterACE14 Posted May 22, 2007 Share Posted May 22, 2007 first, save mypage.html as .php, not .html ^^ , and have a look at this site for your array problem/question http://www.tizag.com/phpT/arrays.php also, to display the info on the other frame/page you need to include mypage.php put include ("mypage.php"); put that on the other page, and make sure the other page is saved as .php as well. And if none of that works, just wait here for the pro's Regards ACE Quote Link to comment https://forums.phpfreaks.com/topic/52473-problem-with-php-and-html-frames/#findComment-258926 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.