почему PHP выдает ошибку при построении генератора страниц?
делаю таким образом:
<?
include("$content.html");
?>
<a href = "index.php?content=21054">21.05.2004</a><br>
<a href = "index.php?content=20054">20.05.2004</a><br>
<a href = "index.php?content=19054">19.05.2004</a><br>
при загрузке страници выдает ошибку:
Warning: main(.html): failed to open stream: No such file or directory in z:\home\localhost\www\humor\index.php on line 43
Warning: main(): Failed opening '.html' for inclusion (include_path='.;/usr/local/php/PEAR') in z:\home\localhost\www\humor\index.php on line 43
а при нажатии на ссылку работает нармально!!! Как сие понять?