Posted by Jonathan N. Little on 10/11/06 01:15
Nospam wrote:
> Basically I have a php script that shows an image:
>
> <?php
>
> echo "<img src='http://www.example.com/image1.jpg' width='60' height='60'>";
>
> ?>
>
> I also have an iframe that has this:
>
> <iframe src="http://www.example.com/script1.php"></iframe>
>
> However the image is not displayed at all (i.e the script is not run, but it
> runs if I run it offline)
>
> I am wondering what needs to be done for the script to run online
Why the IFRAME at all??? Just
<?php include('script1.php'); ?>
and be done with it!
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
[Back to original message]
|