Ver Mensaje Individual
  #13 (permalink)  
Antiguo 29/01/2008, 19:40
okram
Invitado
 
Mensajes: n/a
Puntos:
Re: Usar el footer en otro nivel

Pero, no combienes código HTML con PHP, o por lo menos indícale al serviudor cuál es cuál. Recuerda que para delimitar código PHP debes poner <?php y ?>. En tu ejemplo, sería así:

Código PHP:
<!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> 
<?php
    $URL_BASE 
"http://www.fisalparty.com";   
?>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
<title>Documento sin t&iacute;tulo</title> 
</head> 

<body> 
echo "<img src='<?php echo $URL_BASE?>/gif/footer/footer_logo_forum.gif' />";  
</body> 
</html>
Hay muy buenos manuales sobre PHP y sus interacciones con HTML. Sería bueno que busques y leas uno

Un saludo,