how to giv "src" link in an Iframe

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
max12345
Forum Newbie
Posts: 1
Joined: Wed Jun 02, 2010 2:26 am

how to giv "src" link in an Iframe

Post by max12345 »

<iframe src ="html_intro.asp" width="100%" height="300">
<p>Your browser does not support iframes.</p>
</iframe>

I'm using MVC pattern. I want to load a view file inside the iframe. According to MVC pattern view files have to be loaded through a controller, So how can i give "src" link to a view file.

Or else without using iframes, is there are any better ways to insert a frame to a web page
Post Reply