Forum Moderators: open

Message Too Old, No Replies

Adding file link to DB

         

Sorex

9:22 am on Apr 30, 2003 (gmt 0)

10+ Year Member



Hello,

I have a new thingy where you are able to add a file link inside the content field.

I want to change this to a seperate DB field so that I can put a download counter on it.

how should I make the link so that it grabs the file link out of the DB and downloads the file without losing the current page out of sight? or is this not possible?

<a href="news.asp?id=24&op=download>file</a>

and how should the download part in the asp look like?

a response.redirect(myrs("id"))?

but then i will get a blank page, or not?

Sorex

2:11 pm on Apr 30, 2003 (gmt 0)

10+ Year Member



ok, figuered it all out.

thank you for the mass of responses ;)