I am trying to place an image base on a variable that was selected on another page before So they go to a page see the list of samples that are there, click on the samples. And then when it goes to the new page the image they selected is there. Not sure how else to word this, but we have all the samples on our page I have a database set and working. But I can not get the above to work. I have tried the below 3 ways and can not get the variable to load <?php <img name="" src="/images/"[$id]" width="32" height="32" alt="">; ?> <?php <img name="" src="'/images/' . '[$id]'" width="32" height="32" alt="">; ?> <img name="" src='[$id]' width="32" height="32" alt="">