Monday, 26 August 2013

Using name of hyperlink

Using name of hyperlink

My program includes creating hyperlinks to each data in a MySQL table. So
I used the C MYSQL API with 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="processfiel">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 same file?

No comments:

Post a Comment