Hi guys,
I need include random files in my homepage..
Normally I use a code like this:
$rnd = rand(1, 5);
$filename = "file" . $rnd;
include ("$filename")';
or this:
<?php $n=rand(1,5); include ("/file$n.php"); ?>
It's the same...
But obviously doesn't work with this script, return smarty errors.
Any idea to solve this?



