Hi ive run into what I thought would be a simple obstacle however, its become quite a hassle I want to display a picture on my website however it will be different for every user that is logged in. I tried this
<img src="<?php echo 'screenshots/img_$username.png' ?>" />
I didnt really think that would work but Im not exactly sure where to go on this one I have a java application that saves the images to a file on the users computer then uploads them to my server and saves them all as "img_someusername.png" but the username is going to be different for every person
how can I get it so that the user that is logged in will see his or her picture and not someone else's much like a profile picture on facebook?