choobakka Posted March 23, 2006 Share Posted March 23, 2006 im not sure if this is an ASP problem or a JavaScript problem so here goes:i am using dreamwaver as my developmental tool which interacts with an Access database. one of the fields within a table in the database is a .jpg reference to a picture(s) i have. it has the same name as the .jpg picture (ie thispicture.jpg)i would like to store all of my pictures on the web server and then when the user selects the field from a dropdown list, i would like that .jpg reference to be inserted as a html reference (ie img src=thispicture.jpg) in the webpage and then what would happen is that the corresponding picture on the webserver would be displayed.any ideas?thanks Link to comment Share on other sites More sharing options...
pulpfiction Posted March 23, 2006 Share Posted March 23, 2006 HiYou can do this in ASPWrite a SQL query to get the jpeg image reference and store it in some variable eg: IMGNAME, then write as below.<img src"<%=IMGNAME%>" /> Link to comment Share on other sites More sharing options...
choobakka Posted March 24, 2006 Author Share Posted March 24, 2006 sorry but im new to this. how would i do this in dreamweaver? Link to comment Share on other sites More sharing options...
choobakka Posted March 25, 2006 Author Share Posted March 25, 2006 anybody? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now