|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi all, I´m as fresh as they come
![]() I´ve just started doing some ASP and learning quite a bit, however this is giving me a headache! I am trying to display an image from a path stored in my DB. Its sure to be a simple thing but I can ´t seem to figure it out ![]() I have 2 pages 1. viewimage.asp (with <img src="getimage.asp?id=21"> ) tag 2. getimage.asp (with the wanabee script to show the image by collecting the path from the DB) <% Set db = Server.CreateObject("ADODB.Connection") strConnect = "Driver={Microsoft Access Driver (*.mdb)};DBQ=" & Server.MapPath("/Connections/uploads/uploads.mdb") db.Open strConnect Set rs =db.Execute("SELECT * FROM MYIMAGES where id = " & Request("id") ) %> All I get is the box with a cross where the image should be. I guess or the request id from viewimage.asp isn ´t following through or the script is totally wrong. (proly the later )Any hints? Thx a million |
|
#2
|
|||
|
|||
|
You might want to post this in the ASP forum they will be better equipped to help you.
S- |
|
#3
|
|||
|
|||
|
OK I will Thx!
|
![]() |
| Viewing: ASP Free Forums > Database > Microsoft Access Help > Noob on the Loose -image from path |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|