Visualizzazione dei risultati da 1 a 4 su 4

Discussione: Errore php

  1. #1
    Utente di HTML.it
    Registrato dal
    Feb 2005
    Messaggi
    2,245

    Errore php

    Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /home/mhd-01/www.stefanopisciella.it/htdocs/phpinfo.php on line 11
    il codice è:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title>Documento senza titolo</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    <body>
    <h1>Displaying here documents</h1>
    <?php
    echo END
    This examples uses
    "here document" synthax to display all
    the text until the ending token is reached.
    END;
    ?>


    [img]foto/php.png[/img]
    </body>
    </html>


    dove sbaglio?

  2. #2
    echo <<<END

    ciao

  3. #3
    echo <<<END

    qui scrivi quello che vuoi
    qui scrivi quello che vuoi
    qui scrivi quello che vuoi

    END;

    ops...
    @Eyescream
    scusa non avevo visto che avevi gia' risposto



    www.bitmade.com Momentan ist richtig_Momentan ist gut_Nicht ist wirklich wichtig_Nach der Ebbe kommt die Flut_ _Am Strand des Lebens_ohne Grund,ohne Verstand_ist nichts vergebens_ich baue di traeume auf den Sand.

  4. #4
    Utente di HTML.it
    Registrato dal
    Feb 2005
    Messaggi
    2,245
    Grazie.....sta mattina avevo provato ma non andava ora va grazie ancora

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 © 2025 vBulletin Solutions, Inc. All rights reserved.