I’m trying to make a vote thing for my Minecraft server. I want it to show
on there as in the site. The database is MySQL.
Here is my code. It’s just a test; I’m just trying to turn a link into a variable.
<?php
$imageNumber = https://minotar.net/helm/GRANTSWIM4/100.png;
?>
<img src="<?php echo $imageNumber ?>.jpg">
The code you provided will work fine, assuming you fix the syntax issues and remove the double extension (you are appending .jpg after the .png).