Jump to content

Problem with PHP and HTML frames


new_to_php

Recommended Posts

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.

 

 

                           

 

 

Link to comment
https://forums.phpfreaks.com/topic/52473-problem-with-php-and-html-frames/
Share on other sites

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 ;D

 

Regards ACE

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.