Hello!!
I have this simple external php code and I want to print the image from the HTML.
<?php
echo date("d m Y");
echo date("G i s");
$sec=date("s");
if ($sec>30)
{
echo '<img src="2.jpg"/>';
}
else
{
echo '<img src="1.jpg"/>';
}
?>
<head>
<script type="text/javascript" src="new.php"></script>
</head>
<body>
'<I WANT TO PRINT THE IMAGE HERE>'
</body>
Any ideas??? thank you!!!!
</html>
I have this simple external php code and I want to print the image from the HTML.
<?php
echo date("d m Y");
echo date("G i s");
$sec=date("s");
if ($sec>30)
{
echo '<img src="2.jpg"/>';
}
else
{
echo '<img src="1.jpg"/>';
}
?>
<head>
<script type="text/javascript" src="new.php"></script>
</head>
<body>
'<I WANT TO PRINT THE IMAGE HERE>'
</body>
Any ideas??? thank you!!!!
</html>