$campo = '<img src="<?php echo $ruta; ?>/img.jpg" width="15" height="15">';
$campo = '<img src="' .$ruta. '/img.jpg" width="15" height="15">';