Welcome Guest, Not a member yet? Register   Sign In
get the content of a link tag
#1

[eluser]masentinel900[/eluser]
I'm generating 4 rows in a dynamic tale with content that get from a DB, the row that content the name of file is a link. When the user onclick in the link automatically start the download of the file.

For this I have in my DB, differents rows like: id, routefile, namefile, creationdate, owner. The row that content the routefile is hidden but is used for get the file..

I'm passing the value of routefile by way trough of set_userdata and works perfectly, The only problem is that takes the last date of the row and I need that takes the selected value by the user.

If the user onclick in the link 2, that download the routefile 2.
If the user onclick in the link 3, that download the routefile 3.

I did been tried with a form but I cannot put the submit button because I don't need it..




Theme © iAndrew 2016 - Forum software by © MyBB