Amita Singh
asked on
count download link and run update query
how can count download link when download link click and update sql.
<a href='uploads/cv/<?=$test; ?>' id="download_file">Download</a>
Do you mean that users will upload their CV to your site & you want to know how many times it was downloaded by other users?
ASKER
yes thats what I wanted to ask
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanx prasadh for help me.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks for your help Leakim, I will check it out and get back to you.
ASKER
Thanx
In the script that responds to the GET request ("uploads/vs/<?=$test?>") you would first run the SQL update, then either present a link for download or force the download directly. My guess is that you would want to change the name from "uploads" to "downloads" for this script, since these words have different meaning.
If you've started on developing the script and you're stuck on something specific, please give us a little more detail and we can help with more specifics.