this script I copied from webmonkey doesn't work 100%.
From what I can tell, the isset function is always evaluating to true.
It is only supposed to evaluate to true if the variable $begin is not included in the link URL.
As the link url seems to be generated properly (i think?) later in the script , the isset(!$begin) should evaluate to true and the $begin variable should be available to the script to use. Right?
If someone can find any error, I would be very grateful.
Code file attached