Page 1 of 1

php with iframe

Posted: Thu Mar 04, 2004 5:13 am
by jigaruu
this is my i frame code

<iframe name="I2" width="122" height="67" align="right" src="../My%20Documents/flash/myname.png">
Your browser does not support inline frames or is currently configured not to display inline frames.</iframe></td>

but what i need is to insert a function view("html"); instead of source which is a php function

and thanks in advance.

Posted: Thu Mar 04, 2004 5:26 am
by Phirus
I dont really understand what you are trying to do?
Could you explain exactly what it is you are trying to achieve?

Posted: Thu Mar 04, 2004 5:32 am
by jigaruu
Hey i need to show the view() instead of src which is given there in iframe tag, i dont want to use source i need to use to view() to show the picture.

Posted: Thu Mar 04, 2004 5:40 am
by Phirus
Ok so you want to show the html source of the page that you are currently on?

Posted: Thu Mar 04, 2004 6:13 am
by jigaruu
ya sure

<?php
require("config.inc.php");
include("view.inc.php");
require("acl.inc.php");
?>
<html>
<head></head>
<body>
<table width="100%" border="1" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td width="70%" valign="top" align="right">
<iframe name="I2" width="122" height="67" align="right" valign="bottom" src="../My%20Documents/flash/myname.png">
Your browser does not support</iframe></td>
</tr>
</table></body></html>

hey the data is here and instead of source in iframe i need to insert the function view() which is there in the php files which are included above.