Jump to content

Php and Iframes


Cassie

Recommended Posts

Hello there!

I'm really sorry if there's already been thousand threads about this and probably countless tutorials too, the problem is, i have no idea what to search for on google or in this forum.

Let me describe my problem:

I'm currently working on a page, which's index is using an Iframe. Now i would like to have some kind of linkage that opens the index page with a certain page, for example an about page, opened in the iframe. I've seen many pages where people used that kind of thing, and I've asked them how they have done it. I was told to do that i need to know basic php (which sadly, i dont) and how to pass down variable from the URL to use on the page.

Like already said, i have sadly almost no knowledge of Php, which is why i wanted to ask here if there is anyone that could help me, and even if it was just by linking me to another topic, since, like stated before, i don't know what to call it because i couldnt find anything usefull under "php pass down variables" or anything like that.

 

I hope someone could help me here! I would really apreciate it!

Link to comment
https://forums.phpfreaks.com/topic/167950-php-and-iframes/
Share on other sites

Those pages could just as wel have been plain html pages.  So instead of it showing ?page=gallery as url it might as wel show /gallery.html

Other then that I can't see any reason in that example that justifies the use of the iframe. The usage of a template would have been better.

 

What is reason you want to use an iframe btw?

Link to comment
https://forums.phpfreaks.com/topic/167950-php-and-iframes/#findComment-885843
Share on other sites

Well i contacted the user of that page, she's the one that told me that php would be the way to go.

 

I want to use iframes because i already managed to code most of my page with it, i'm not very good with any other codes besides html and if i had to completely write my page again with something else i'd probably freak out, since on one side, html is the only thing i get along with and understand at least partly, and i have no one who could help me with php :(

 

And if you had just used the /gallery.html thing it would only show the content of the gallery.html page, which was bound in on the iframe, so you wouldnt have the Menu anymore, so i gues that wouldnt quite work :o

Link to comment
https://forums.phpfreaks.com/topic/167950-php-and-iframes/#findComment-885844
Share on other sites

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.