Hi there
I have a 4 page registration form. On pages 1-3 I pass user inputs to a $_SESSION variable up until the last page where I use the $_SESSION to ECHO the inputs so that the user can confirm them (and go back if they made a mistake).
On page 2 of the registration form (call it form1.php) there is a field that asks the user to click on a link that opens a new window (call it form2.php) for them to select an image. For example, click here to select your image. Once they select that image, they click "next" and the window closes for them to be back on form1.php to fill out the rest of the form...
So, here's the condensed code for form1.php
Now this is the code for the pop up form2.php
Ok... now here's the problem, The entire process works well... The user can click the link, the pop up appear,s they select an image, they close the window and continue on the form...
On page 4 - the confirmation page - all the other fiels turn out fine but for some reason, the image thumbnail doesn't appear... It actually shows a broken image and when I right-click / properties, it shows:
http://www.url.com/images/undefined
Here's the code on page 4
Can anyone help? What I would like to do is bring out the image there, not the image path or, of course, a broken image link!