Page 1 of 1

HELP with download button

Posted: Wed Aug 11, 2010 9:07 am
by maxreefer
Hey guys,
I am pretty new to PHP and I think what I want to accomplish is very easy but I really don't know exactly how to code this. Maybe you can help me out here.

I am running an excellent PHP script that pulls information from my movie database and puts it in a nice webpage.
I would like to add a button to that webpage which would give users the possibility to download that movie.
My movies are named as follows: 1.mkv, 2.mkv, 3.mkv ......
In the code of the generated webpage I see the script uses {$dvd->Number} to display the actual number of the movie displayed which is the first part of the movie name actually.

Now how do I code the download button to download the {$dvd->Number} + the mkv ending

Thanks for any help
Michael