Link to home
Start Free TrialLog in
Avatar of Amita Singh
Amita SinghFlag for India

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>

Open in new window

Avatar of Ray Paseur
Ray Paseur
Flag of United States of America image

This is a very, very broad question!

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.
Avatar of Prasadh Baapaat
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?
Avatar of Amita Singh

ASKER

yes thats what I wanted to ask
SOLUTION
Avatar of Prasadh Baapaat
Prasadh Baapaat
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanx prasadh for help me.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thanks for your help Leakim, I will check it out and get back to you.
Thanx