I have a form that currently passes a hidden variable value to another script using a Button. I retrieve the variable value by using $_POST.
See code below:
<form method="post" action="../details.php">
<input name="Submit" type="submit" id="Submit" value="View Details">
<font face="Arial">
<input name="ID" type="hidden" id="ID" value="<?php echo stripslashes($data['taskID']); ?>">
</font> </form>
There are 6 buttons on the form, one for each task which is why I have to associate a particular button to a particular "ID" so I know which details to query for that task.
I would like to change the button to a hyperlink and still have the hyperlink related to the correct "ID" via $_POST on the other page.
Can anybody help me with this please ?