php frames. possible?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Aegiss
Forum Newbie
Posts: 9
Joined: Sat Jun 24, 2006 11:48 pm

php frames. possible?

Post by Aegiss »

Well basically i just want a section on my website that stays loaded and doesnt load everytime the page is moved, like a frame. Can you do that with php? I'm a noob sorry. If not is there a way to make a frame any size you want? so far i've only seen ones that go all the way across or all the way down. Anyway thanks :)
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

PHP only runs server side. You may want to learn ajax.
User avatar
Verminox
Forum Contributor
Posts: 101
Joined: Sun May 07, 2006 5:19 am

Post by Verminox »

I think what you are looking for is iframes. Try reading about them on your favourite HTML tutorial website, there are thousands out there so I won't bother searching for a link now.

The page inside the iFrame can be any external web page, and you can control the contents of that page separately, and use PHP to generate dynamic content.
Post Reply