Tema: html en PHP
Ver Mensaje Individual
  #2 (permalink)  
Antiguo 24/07/2008, 22:02
Avatar de Marvin
Marvin
Colaborador
 
Fecha de Ingreso: febrero-2005
Ubicación: global $Chile->Santiago;
Mensajes: 1.991
Antigüedad: 19 años, 3 meses
Puntos: 81
Respuesta: html en PHP

Asi:
Código PHP:
<html>
<? echo 'titulo'?>
<head>
</head>
<body>
<? echo 'test'?>
</body>
</html>
o tambien asi:
Código PHP:
$titulo "titulo";
$body "test";
$html '<html>
'
.$titulo.'
<head>
</head>
<body>
'
.$body.'
</body>
</html>'
;
echo 
$html
Suerte!
__________________
El que dice "Solo sé que nada sé", esta asumiendo que sabe algo.
Lea las FAQ's!