Ver Mensaje Individual
  #3 (permalink)  
Antiguo 19/10/2009, 11:53
Avatar de David
David
Moderador
 
Fecha de Ingreso: abril-2005
Ubicación: In this planet
Mensajes: 15.720
Antigüedad: 19 años
Puntos: 839
Respuesta: Es correcto asi?

Porque estás usando comillas dobles dentro de comillas dobles.

Revisa:
http://www.forosdelweb.com/f18/como-...s-bien-588701/

También te puede ser útil usar la sintaxis heredoc:
http://www.php.net/manual/en/languag...syntax.heredoc

Y otra posible solución:
Código PHP:
Ver original
  1. <?php
  2. if (condicion) {
  3. ?>
  4. ... HTML ...
  5. <?php
  6. }
  7. ?>
__________________
Por favor, antes de preguntar, revisa la Guía para realizar preguntas.