<td colspan="8" align="left" class="body_text_headings" id="infostrings4"><a name="anchor<?php echo $s; ?>" id="anchor<?php echo $s;
?>"></a> (Record No.: <?php echo $s; ?>) <input type="submit" name="" id="" value="Update Signature to Database" /></td>
This piece of code and the value of $s is within a form tag and is repeated down the page a number of times as a loop.
I did not post all the code as it would be confusing and would not really be relevant to my question
There is an anchor defined in the code
All I need is to be able to submit the main form using the submit button which is repeated down the page BUT pass the anchor value for THIS PARTICULAR RECORD in the string- ie:
pagereference?anchor#<?php echo $s; ?>