Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hello all i am useing a sql dat

Status
Not open for further replies.

ssmenon

Programmer
Sep 6, 2002
8
IN
Hello all

i am useing a sql database and in one field i am putting the filepath ie exact name of the file.
That file is also uploaded in a image folder. Can it is possible to diplay the image in a html file by useing the imagepath and filename from the tablefield.

SSMENON
 
Just place your image tag where you want it and place the recordset value in the image src like this

<IMG SRC=&quot;<%=rs(&quot;imagesource&quot;%>&quot; width=&quot;75&quot; height=&quot;60&quot; border=&quot;0&quot;> Saturday 12.00
im6.gif
im2.gif
im2.gif
20.00
im5.gif
im4.gif
im7.gif
3.00am
im8.gif
Sunday [img http
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top