Welcome to WebmasterWorld Guest from 184.108.40.206
so i use HTML to include the js file
now in the java script file is
marqueecontent="<nobr><font face='Arial'><? echo $scroll?></font></nobr>"
the $scroll is set in another file which is included... but $scroll only displays when its set on the js file e.g
<? $scroll = bob;?>
how do i transfer my variable from the php and get it to display
many thanks :) dom
Then in the .js file (if it set to be parsed as a PHP file) you can access it will be in the variable $_GET['scroll']
You will have to watch out for special symbols in the scroll text and convert them (for example a space to %20) so they don't get messed up.