I know how to make an output in HTML page making with PHP
- Code: Select all
$pageContent = date("l dS of F Y h:i:s A");
print( "document.write( \"" . $pageContent . "\" );" );
and then this code in HTML file
- Code: Select all
<script language="JavaScript" src="out.php" type=text/javascript></script>
I tried to show some image but it doesnt work if you just use image tag or something, could anybody please tell me how to show an output image using PHP in HTML page?



