Ver Mensaje Individual
  #4 (permalink)  
Antiguo 27/10/2010, 03:00
pacorubio77
 
Fecha de Ingreso: noviembre-2007
Mensajes: 533
Antigüedad: 16 años, 5 meses
Puntos: 1
Respuesta: insercion en php de html

Pruebo lo siguiente:


Código:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Documento sin t&iacute;tulo</title>
</head>

<body>


<?php


$html.=  '   <iframe src="http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FMadrid-Spain%xxxxxxxxx%xxxxxxxxxx&amp;width=200&amp;colorscheme=light&amp;connections=10&amp;stream=true&amp;header=true&amp;height=587" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:200px; height:587px;" allowTransparency="true"></iframe>   '    ;


?>
</body>
</html>
ahi el error es el siguiente:

Notice: Undefined variable: html in C:\Program Files (x86)\EasyPHP 3.0\www\prueba2.php on line 12

Espero respuesta.
Gracias.