Link to home
Start Free TrialLog in
Avatar of doctorbill
doctorbillFlag for United Kingdom of Great Britain and Northern Ireland

asked on

anchors

Code:
 <tr>
      <td colspan="8" align="left" class="body_text_headings" id="infostrings4"><a name="anchor<?php echo $s; ?>" id="anchor<?php echo $s;

?>"></a>&nbsp;(Record&nbsp;No.:&nbsp<?php echo $s; ?>)&nbsp; <input type="submit" name="" id="" value="Update Signature to Database" /></td>
  </tr>

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; ?>
SOLUTION
Avatar of Ray Paseur
Ray Paseur
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Chris Stanyon
Chris Stanyon
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You may think the rest of the code is unnecessary, but what we relly need is a link instead of a couple of lines of code with no context.

Cd&
Avatar of doctorbill

ASKER

ChrisStanyon:
Once the records have been dumped how do I send the specific anchor id back to the page
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thanks all
Thanks for the points and thanks for using EE, ~Ray