El error es el que te señalo jam1138, no has comenzado con ' cuando deberias hacerlo
Código PHP:
if ($salto <= "4") { $texto .= '<td><a target="_blank" href="imagenes/calkini/=".$elemento.""><img border="0" src="imagenes/calkini/thumbnails.php?img=".$elemento."" width="100" height="100"></a></td> '; $salto = $salto + 1; }