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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.