getting information from the url
-
hello, i am in the process of making a download counter for external link, so when the user clicks the link to dilesharing site the download is noted and 1 is added to the mysql database ... here is how i make the id...
echo"<a href=\"download_count.php?id=". $row['upload_id'] . "\">Download</a>";
now i get this when i click download ...http://localhost/website/download_count.php?id= 54
now thats related to the record in a mysql databas, as you have probably guessed .... how do i get that id in the url so i can use it in the download_count.php file which will allow me to make a function to add 1 ?? thanks for all your help in advance ... -
hello, i am in the process of making a download counter for external link, so when the user clicks the link to dilesharing site the download is noted and 1 is added to the mysql database ... here is how i make the id...
echo"<a href=\"download_count.php?id=". $row['upload_id'] . "\">Download</a>";
now i get this when i click download ...http://localhost/website/download_count.php?id= 54
now thats related to the record in a mysql databas, as you have probably guessed .... how do i get that id in the url so i can use it in the download_count.php file which will allow me to make a function to add 1 ?? thanks for all your help in advance ...a little Google action would have yielded pages such as this one[^]. :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
Prolific encyclopedia fixture proof-reader browser patron addict?
We all depend on the beast below.