Okay using the above example I tried this.....
Posted: Fri May 09, 2003 10:57 am
ouputs article/latest.php<?php $latestFile = "article/latest.php"; ?>
<script language"javascript" type="text/javascript">
<!--
var scroller1 = new scrollObject("scroller1", "MainName", 140, 125, "#cdcdcd", 1.45, 3, 30, 2000, "scrollClass");
scroller1.block[0] = "<img src=images/pullups.gif>";
scroller1.block[1] = "Have you got what it takes?";
scroller1.block[2] = "<img src=images/jumping_jacks.gif>";
scroller1.block[3] = "The burning desire to excell?";
scroller1.block[4] = "<img src=images/pushups.gif>";
scroller1.block[5] = "THe MO-AVCRAD does!";
scroller1.block[6] = "<?php echo $latestFile; ?>";
And I want it to display the file
I tried single quotes on the $latestFile and also tried required but they were dead ends also