Hi guys,
I'm after some really basic help please.
I have a file "sponsors.php" which contains:
<?PHP
$fcontents = join ('', file ('content.txt'));
$s_con = split("~",$fcontents);
$banner_no = (rand()%(count($s_con)-1));
echo $s_con[$banner_no];
?>
And a second file sponsors.tpl:
(empty)
What do I need to put in sponsors.tpl so it displays the value currently displying in sponsors.php please?
Thanks very much.
I'm after some really basic help please.
I have a file "sponsors.php" which contains:
<?PHP
$fcontents = join ('', file ('content.txt'));
$s_con = split("~",$fcontents);
$banner_no = (rand()%(count($s_con)-1));
echo $s_con[$banner_no];
?>
And a second file sponsors.tpl:
(empty)
What do I need to put in sponsors.tpl so it displays the value currently displying in sponsors.php please?
Thanks very much.