Tema: comillas
Ver Mensaje Individual
  #2 (permalink)  
Antiguo 13/03/2009, 17:41
Avatar de Triby
Triby
Mod on free time
 
Fecha de Ingreso: agosto-2008
Ubicación: $MX->Gto['León'];
Mensajes: 10.106
Antigüedad: 15 años, 8 meses
Puntos: 2237
Respuesta: comillas

Pregunto: Porque poner codigo HTML con un echo de PHP cuando no hay variables y es mucho mas eficiente dejarlo como HTML:

Código:
<?php
// Aqui codigo php
?>
<!-- Aqui codigo HTML -->
<table width="100%" height="25" border="0" align="left" cellpadding="0" cellspacing="0">
<tr>
<td><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image2','','JPG/boton-uea-B.jpg',1)"><img src="JPG/boton-uea-A.jpg" name="Image2" width="156" height="25" border="0" id="Image2" /></a></td></tr>
</table>

<?php
// Aqui pones tu codigo PHP
?>
Edito: No entiendo porque el highlight me agrega etiquetas textarea, por eso lo puse con [ code ]
__________________
- León, Guanajuato
- GV-Foto