If a dragon is a specific type, I'd like to make a random chance of having a different image. Here is what I have so far....
Code:
$altchance = rand(0,100);
if ($altchance <= "100" && $type == "Bastet Dragon"){
$imageurl = "http://taleofdragons.net/picuploads/png/043e9d1f2e854bb57fce31e1179a2449.png";}
It's not inserting the image into the $imageurl field.