<img src="socimages/logo/"<?php if ($soca == ""){ echo "logo.jpg"; } else { echo $anotherimage . ".jpg";} ?>>
Basically what I am trying to do is to change the end part of the image src, to pick from a range of specifically named images.
The syntax for the code is obviously not right since I closed the src after /logo/ with the ". But if I do not have the " then my php will not function.