Friday, 9 August 2013

How to retrieve and display image base on URL and Product-ID?

How to retrieve and display image base on URL and Product-ID?

I have:
A table called Product that stored product information: PID, PName.
A table called PImage that stored the image URL of the product-ID :
ImageID, ImagePID, ImageURL.
Question: I have a form that display all products. How can i loop through
the product list, retrieve and display the image from PImage table where
the ImagePID = PID?

No comments:

Post a Comment