SI "ALGO" ENTONCES "ESTO" SI NO, Y "AQUELLO" ENTONCES "LO OTRO" Y SI NO, "POR DEFECTO" ETC...
if ($foo == 'bar'){ $img = 'candy';}else{ $img = 'baz';}echo '<img src="/images/' . $img . '.png"/>';