Cita:
Iniciado por rous_1812 Hola por favor necesito que me ayuden a ver donde esta el error en estas lineas de codigo
echo "<td align='right'><img src='../imagenes/".$Obj_Noticia->imagen2."' width='250' height='200' border='1' title='".$Obj_Noticia->leyenda."' onMouseOver='this.title= '".$Obj_Noticia->leyenda."''></td>";
mensaje de error****
Error de sintaxis
el campo leyenda lo traigo de la base, lo que quiero hacer es que se muestre un mensaje al momento de poner el mouse sobre una imagen
pruebalo asi
Código PHP:
echo "<td align='right'>";
echo "<img src='../imagenes/\".$Obj_Noticia->imagen2.\"' width='250' height='200' border='1' title='\".$Obj_Noticia->leyenda.\"' onMouseOver='this.title= '\".$Obj_Noticia->leyenda.\"></td>";