I am creating a real estate site, and I need a thumbnail and full size image to display. I'd like to store the images in respective folders under the Images folder on the server, and store the file name in the database. I can't get the images to display no matter how much I play with the code.
img src="<?php echo $row_rs_listings; ?>" />
The above is the code I've been trying to use to pull the image. I think the problem is I have no file path defined:
img src="http://website.com/images/main/<?php echo $row_rs_listings; ?>" />
but I don't know how to complete the path so the correct image shows based on ID.
Any help would be greatly appreciated.