How can I change image source dynamically in php?
<p>i have a group of empty frames after selecting Indivisual frame it shows in a specified area.now user can upload their image in that frame.my problem is that after submitting the page,frame has not been updated.it shows by default only one frame,which is given by me at the frame source.how can i give multiple frame in a source.
 Here is part of my code.</p>

<pre><code>&lt;img src="photoframes/photo-frame-0000000.png" alt="" style="position: absolute; left: 0pt; top: 0pt; width: 416px; height: 382px; z-index: 10;" id="frame" height="382" width="416"&gt;
&lt;img src="view_frame.php_files/&lt;?php echo isset($_FILES["fileToUpload"]["name"])? $_FILES["fileToUpload"]["name"]:'' ;?&gt;" alt="" style="position: absolute; left: 0px; top: 0px; border: 0pt none; margin: 0pt; padding: 0pt; width: 416px; height: 382px; z-index: 5;" id="photo"&gt;
</code></pre>
