Script syntax error:

>>> "<P>You have entered an invalid page number. Please press your browser's <B>Back</B> button and enter a value from 1 to ".(221-1+1). <<< syntax error at EOF (Might be a runaway multi-line "" string starting on line 1)

.echo "<P>You have entered an invalid page number. Please press your browser's <B>Back</B> button and enter a value from 1 to ".($endnum-$startnum+1). ".</P>"
PreviousFinding Aid ListNext