Basically the idea is to have a table and the user selects an entry from the table and clicks on an href, where 3 parameters are passed, of 2 different kinds: A) parameters from an SQL query from the loop that generates the table(e.g. $parameter1 and 2) and B) a free text input from a textbox. The issue is how to effectively pass the freetext to the href'd script.
I have seen some javascript solutions, not sure how one would do it with php or if it is possible.
I have seen some javascript solutions, not sure how one would do it with php or if it is possible.
Code:
<table>
<tr>
...
<td><?php echo htmlspecialchars($parameter1);?></td>
<td><?php echo htmlspecialchars($parameter2);?></td>
<td><div align="center"> <input CLASS="textbox" type="text" name ="myfreetext" size=15>
</div></td>
<td> <a href="select.php?key1=<?php echo $parameter1; ?>&key2=<?php echo $paramete2;?>">Go to this link</a> </td>
</tr>
</table>