Hi redhead,
Thanks so much for for your thoughts on the session variables and also for explaining the tag syntax to me. I've done a bit of eye-rubbing on this and I have to admit that no matter how many times I type it in, I always get a parse error (unexpected "=") when I set the input value this way:
PHP Code:
value=<?php =$scroll?>
or
PHP Code:
value="<?php =$scroll?>"
But it works the other two ways you mention:
PHP Code:
value=<?php echo "$scroll";?>
and
PHP Code:
value="<?=$scroll?>"
and it also works this way:
PHP Code:
value="<?php echo $scroll;?>"
Maybe it's the version of PHP that's running on my host server?
Anyway, your answer and the others I've gotten here have been more than enough to get me going.
Tak skal du have
