is short form of php script. if you wanted to use the longer form, it would be:
PHP Code:
<?php =$scroll?>
or
PHP Code:
<?php echo "$scroll";?>
Notice the space fromphp to "=".
In your case I would suggest session variables, since I guess you don't want the visitor to snoop on your code, and find out how you increment your scroll value.