Hello, I put together some code to display a different image every minute on a web page. It works fine when I just save it as a php file, but when I embed the exact same code in an html file, it doesn´t work. All it prints out is: "; ?>
<?php
require('mysql_connect2.php');
$now = date('i');
$imageLink = $now . ".jpg";
echo "<img src=\"/pictures/" . $imageLink . "\">";
?>
Any ideas? Thanks in advance.