Hi
As you've guessed I'm new to php! I'm trying to load an image in a webpage - depending upon the value of the variable. I have a variable that stores the url of the picture.
When the user clicks a link from a parent webpage it passes the variable a value
-i.e. page.php?pic=picture1
in the popup window (page.php) I have a php script with a switch statement saying that if pic == picture1 then set pic to whatever the path of picture1 is. Then further down in the code I have another php where <image src=<?php $pic ?>...> - something like that. I'm expecting the relevant picture to be displayed, but instead I get nothing...
I'm not sure if I'm doing this the right way, but if you have any ideas please can you help.
Thank you.