Jump to content

Recommended Posts

But I want my php file to be the one calling the 2 frames test1 and test2 for the output after being process from php. example: i input 5 in frame test1 pass the value using form to test.php. the php file will add 5+1=6 and one of the code will be 5-1=4. I want 6 to be output in test1 and 4 in test2 frame. Is that possible?

Link to comment
https://forums.phpfreaks.com/topic/50557-php-to-html-frames/#findComment-248466
Share on other sites

I never use iframes... I'll check that out... I can't change it to div because what I'm doing really is getting a search result for search engines yahoo ang google by just using one frame for searching and google will b displayed in the first frame and yahoo on the second frame... any easier way to this?

Link to comment
https://forums.phpfreaks.com/topic/50557-php-to-html-frames/#findComment-248532
Share on other sites

Oh.... My bad -- I thought you said iframes ;p....

 

Hmm you could splice them into one page... such as:

 

<table>
<tr>
<td id="google" width="50%"><?php echo $google_content; ?></td>
<td id="yahoo"><?php echo $yahoo_content; ?></td></tr>
</table>

 

You would of course want to make it look better and probably avoid tables.... But, that's just what I would do.

Link to comment
https://forums.phpfreaks.com/topic/50557-php-to-html-frames/#findComment-248543
Share on other sites

the problem is I'm returning the link. so still google and yahoo pages will be displayed with there searches. just putting two search engines in one window. there will be a predefined url in php for both google and yahoo and the only thing that is dynamic is the word that will be pass from html form to php then returns backthe link to be displayed both for google and yahoo.

Link to comment
https://forums.phpfreaks.com/topic/50557-php-to-html-frames/#findComment-248561
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.