My program includes creating hyperlinks for each row in a MySQL table. So I used the C MYSQL API to retrieve the contents of the table:
while ((row = mysql_fetch_row(result)))
{
....//some code to print the data....
}
I can output the data. But we need to create hyperlinks in each of the printed results and it should link to another page where I can use that certain string for other processing:
<a href="processfile">text1</a>
<a href="processfile">text2</a>
The problem is: I need to display the string the user clicked in another page. But how would I know what string the user clicked since they are pointing to the same file?