Hi all
I am not a java programmer but i can hack at it a bit. I am trying to
allow a user to define the text in a simple javascript text scroller.
The data is stored as multiple records in a MYSQL table. I read these
using PHP and the result is an array if you will of each of the
'lines' or records that the user wants displayed in the scroller.
$msgctr is an integer that is the total number of records passed by
PHP
$msgline is the array of each record
Here is the code snip...
<script language="JavaS cript1.2">
<!--
//Secify scroller contents
var line=new Array()
var totlines=<?php echo $msgctr; ?>
for (i=0;i<=totline s;i++){
line[i]=<?php echo $msgline; ?>
}
//line[1]=" these are what used to be used to load the scroller"
//line[2]=" line 2 ... "
//line[3]=" line 3 ..."
..
..
..
I hate to admit it but i feel that this is simply a syntax error but I
cant find anything wrong and i cant seem to get any error message feed
back from the browser when it tries to load...
Am I way off track here or do I have a smack to the forehead in my
near future...
many thanx in advance for any advice you may have that will help me
move on from this 5 minute job i have spent an hour on :)
l8r
owen