Visualizzazione dei risultati da 1 a 3 su 3
  1. #1

    response.write e codice html

    ciao a tutti ho questo codice:

    Codice PHP:
    HTML "<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>"
        
    HTML HTML "<html xmlns='http://www.w3.org/1999/xhtml'>"
        
    HTML HTML "<head><meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1' /> "
        
    HTML HTML "<style type='text/css'>"
        
    HTML HTML "<!--"
        
    HTML HTML "body {"
        
    HTML HTML "margin-left: 0px;"
        
    HTML HTML "margin-top: 0px;"
        
    HTML HTML "margin-right: 0px;"
        
    HTML HTML "margin-bottom: 0px;"
        
    HTML HTML "background-color: #D7E2EE;"
        
    HTML HTML "}"
                
        
    HTML HTML "body,td,th {"
        
    HTML HTML "font-family: Arial, Helvetica, sans-serif;"
        
    HTML HTML "font-size: 12px;"
        
    HTML HTML "}"
                
        
    HTML HTML ".Stile1 {"
        
    HTML HTML "color: #999999; "
        
    HTML HTML "font-size: 10; "
        
    HTML HTML "}"
                
        
    HTML HTML ".Stile2 {"
        
    HTML HTML "font-size: 16px;"
        
    HTML HTML "font-weight: bold;"
        
    HTML HTML "}"
                
        
    HTML HTML ".Stile3 {color: #FF0000}"
        
    HTML HTML ".Stile4 {color: #0000FF}"
        
    HTML HTML "-->"
        
    HTML HTML "</style></head>"
                
        
    HTML HTML "<body>"
        
    HTML HTML "<table width='100%' border='0'>"
          
    HTML HTML "<tr>"
        
    HTML HTML "<td align='center' valign='top'><table width='600' style='border: 1px solid #003580; background-color: #ffffff; border-width: 0 1px 1px;'>"
        
    HTML HTML "<tr>"
        
    HTML HTML "<td colspan='2' align='left'>gdfgdf</td>"
        
    HTML HTML "</tr>"
        
    HTML HTML "<tr>"
        
    HTML HTML "<td height='23' colspan='2' align='center' valign='middle' bgcolor='#FFCCFF'>Qui di seguito trovi i dati della persona/e che ha richiesto la disponibilità_ presso la tua struttura!</td>"
           
    HTML HTML "</tr>"
           
    HTML HTML "<tr>"

    ecc... 
    in teoria facendo
    response.write HTML

    mi dovrebbe mostrare tutto il codice html giusto?
    solo che non me lo mostra mi mostra solo il testo non formattato ... avete idea del motivo?

  2. #2
    response.write(server.htmlencode(html)) ... così?!

  3. #3
    no non funziona mi mostra il codice html penso sia un problema di apici ho molte righe di codice chissà cosa avrò tralasciato... però non capisco perchè non mi viene restituito nessun errore .. ora controllerò riga per riga ... grazie cmq

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.