php image open using session user name as "username".jpg
<p>this is my first time asking a question about this but unlike my other problems i have been unable to find the specific answer i am seeking.  i am very new to php but it's working well on a current project.</p>

<p>i have this line of code which works perfectly in context of my page when the image file name  is set to a specific name.<br>
<code></p>

<pre><code>&lt;?php echo $_SESSION['userName'];?&gt;

&lt;?php echo "&lt;img src='videos/jpgs/'userName'.jpg' width='83'
 height='20'/&gt;"; ?&gt;!
</code></pre>

<p></code>
what i would like to do is open an image which uses the user name as the image filename.  The images are in the folder in the path.  The users are set internally and their user names are predetermined.</p>

<p>thanks in advance.</p>
