Cita:
El problema (si es que es un problema), es que con el include se me quedan varios<html>
<head>
<body>
<?php
include("./variable.php");
include("./configuracion.php");
bla bla bla
?>
</body>
</html>
<head>
<body>
<?php
include("./variable.php");
include("./configuracion.php");
bla bla bla
?>
</body>
</html>
html, head y body, y sus respectivos /html, etc. O sea, dentro del primer body me queda esto:
Cita:
¿No importa o tengo que corregirlo?<html>
<head>
<title>Documento sin título</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
</body>
</html>
<?xml version="1.0" encoding="iso-8859-1"?><!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>
<title>Documento sin título</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
</body>
</html>
Y AQUI EL CONTENIDO DE LA PAGINA GENERADA
<head>
<title>Documento sin título</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
</body>
</html>
<?xml version="1.0" encoding="iso-8859-1"?><!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>
<title>Documento sin título</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
</body>
</html>
Y AQUI EL CONTENIDO DE LA PAGINA GENERADA
¿¿¿Sera que los ficheros incluidos de php deben contener UNICAMENTE los tags <?php... y ...?>???
Gracias