Respuesta: se peude poner un a href dentro de un php?? Mi código:
<td rowspan="2" style="background-image: url(backanun.png); border-top-left-radius: 10px; text-align:center; vertical-align:middle;"><a href="<?php echo $fila[7];?>"rel="shadowbox[<?php echo $contador;?>]"><img src=<?php echo $fila[7];?> width="180"></a>
<?php if ($fila[8]!="/intercambios/imagenes/"):?>
<a href="<?php echo $fila[8];?>"rel="shadowbox[<?php echo $contador;?>]" style="display:none"><img src=<?php echo $fila[8];?> width="180"></a>
<?php if ($fila[9]!="/intercambios/imagenes/"):?>
<a href="<?php echo $fila[9];?>"rel="shadowbox[<?php echo $contador; $contador++;?>]" style="display:none"><img src=<?php echo $fila[9];?> width="180"></a>
</td>
<td height="150" style="font-size: 14px; text-align: justify; background-image: -webkit-gradient(linear, 50.00% 0.00%, 50.00% 100.00%, color-stop( 0% , rgba(22,22,22,0.85)),color-stop( 29.54% , rgba(99,99,99,0.77)),color-stop( 92.75% , rgba(26,26,26,0.92))); background-image: -webkit-linear-gradient(270deg,rgba(22,22,22,0.85) 0%,rgba(99,99,99,0.77) 29.54%,rgba(26,26,26,0.92) 92.75%); background-image: linear-gradient(180deg,rgba(22,22,22,0.85) 0%,rgba(99,99,99,0.77) 29.54%,rgba(26,26,26,0.92) 92.75%); border-top-right-radius: 10px;"><div class="fluid fechaan" align="right"><?php echo $fila[14];?> | <?php echo $fila[12]= date("d-m-Y", strtotime($fila[12]));;?></div>
<br>
<div class="fluid textoanuncio"><?php echo $fila[5];?></div></td>
</tr>
<tr>
<td height="31" style="font-size: 14px; text-align: justify; vertical-align: middle; background-image: url(backanun.png)"><span style="font-size: 14px; text-align: center; vertical-align: middle;"><?php echo $fila[6];?>€ | <?php echo $fila[13];?><img align="right" src="contacto.png" alt=""/></span></td>
</tr>
<tr>
<td height="33" colspan="4" style="background-color:transparent"> </td>
</tr>
<?php }
?>
</table>
</body>
</html>
E puesto lo que cachusan me a dicho pero me da error en la linea que marco en rojo.... |