New to php and i have tried what I thought would work but it didnt work. I have an image in my upload folder name 1002386235.png the number 1002386235 is the user id and I would like to display a profile picture of the user with the help of php. With this I can display the image. What I am trying to achieve is replace the 1002386235.png with something like $uid.png, $uid being a variable with the user id in it. I thought the following would work but it didnt
<?php
$uid = "1002386235";
?>
<img src="upload/".$uid.".png">